1 const common = require("./common.js")
4 op: common.listChangeCommand("oped", "operators", true),
5 deop: common.listChangeCommand("oped", "operators", false),
6 oplist: common.listCommand("operators", "operators"),
7 ignore: common.listChangeCommand("ignored", "ignored", true),
8 unignore: common.listChangeCommand("ignored", "ignored", false),
9 ignorelist: common.listCommand("ignored users", "ignored"),
12 help: "Change the bot's username",
14 func: (msg, name) => msg.guild.me.setNickname(name.join(" ")),
18 help: "Change the bot's pfp",
20 func: (msg, pfp) => msg.guild.me.user.setAvatar(pfp.join(" ")),