From: Elias Fleckenstein Date: Sun, 6 Mar 2022 15:34:51 +0000 (+0100) Subject: Add nickname command X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=7a7dfb1b4a82e2ac8e4e95b75afa0f4730144f41;p=furrybot-discord.git Add nickname command --- 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(" ")), + } }