From: Elias Fleckenstein Date: Sun, 6 Mar 2022 15:44:33 +0000 (+0100) Subject: Add pfp command X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=c310aecb99c3278d8f85a46dab0306b97ed4cdb2;p=furrybot-discord.git Add pfp command --- diff --git a/operator.js b/operator.js index 92af5d8..58f6a40 100644 --- a/operator.js +++ b/operator.js @@ -12,5 +12,11 @@ module.exports = { help: "Change the bot's username", params: "", func: (msg, name) => msg.guild.me.setNickname(name.join(" ")), - } + }, + pfp: { + operator: true, + help: "Change the bot's pfp", + params: "", + func: (msg, pfp) => msg.guild.me.user.setAvatar(pfp.join(" ")), + }, }