From 1a46dd5c933126537bd4fcfea91401b3608d53f5 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 6 Mar 2020 17:39:29 -0500 Subject: [PATCH] Bots don't have status buttons --- commands/avatar-edit/status-button.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/avatar-edit/status-button.js b/commands/avatar-edit/status-button.js index ebacc100..62521a64 100644 --- a/commands/avatar-edit/status-button.js +++ b/commands/avatar-edit/status-button.js @@ -29,6 +29,7 @@ module.exports = class StatusButtonCommand extends Command { } run(msg, { user }) { + if (user.bot) return msg.reply('You cannot get the status button of a bot.'); return msg.say(stripIndents` _Getting "User not found"? Visit for more information._ https://discord.c99.nl/widget/theme-1/${user.id}.png