aboutsummaryrefslogtreecommitdiff
path: root/operator.js
diff options
context:
space:
mode:
Diffstat (limited to 'operator.js')
-rw-r--r--operator.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/operator.js b/operator.js
index fda9e05..92af5d8 100644
--- a/operator.js
+++ b/operator.js
@@ -7,4 +7,10 @@ module.exports = {
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(" ")),
+ }
}