X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=operator.js;h=92af5d82bdd54b470e09f2f835275208ace1e0f0;hb=7a7dfb1b4a82e2ac8e4e95b75afa0f4730144f41;hp=fda9e0580bd8c56b55ad5abb009f9c0e8cdc1c12;hpb=5fa566734ecd144d3bdc203a7ff3b131aa7dfadf;p=furrybot-discord.git 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: "", + func: (msg, name) => msg.guild.me.setNickname(name.join(" ")), + } }