1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
const common = require("./common.js")
module.exports = {
op: common.listChangeCommand("oped", "operators", true),
deop: common.listChangeCommand("oped", "operators", false),
oplist: common.listCommand("operators", "operators"),
ignore: common.listChangeCommand("ignored", "ignored", true),
unignore: common.listChangeCommand("ignored", "ignored", false),
ignorelist: common.listCommand("ignored users", "ignored"),
nickname: {
operator: true,
help: "Change the bot's username",
params: "<username>",
func: (msg, name) => msg.guild.me.setNickname(name.join(" ")),
}
}
|