From f1b92b10d9425277c99c2b1a20a994fb4d436ded Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Wed, 29 Dec 2021 01:57:02 +0500 Subject: [PATCH] fixes --- commands/Fun/ascii.js | 1 - commands/Moderation/poll.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/commands/Fun/ascii.js b/commands/Fun/ascii.js index 34d3ff0b..fc8ccddd 100644 --- a/commands/Fun/ascii.js +++ b/commands/Fun/ascii.js @@ -24,7 +24,6 @@ class Ascii extends Command { if (!text || text.length > 20) return message.error("fun/ascii:TEXT_MISSING"); const rendered = await figletAsync(text); - if (!rendered) rendered = await figletAsync("Nothing"); message.channel.send("```" + rendered + "```"); } diff --git a/commands/Moderation/poll.js b/commands/Moderation/poll.js index d14ff52a..e02dc751 100644 --- a/commands/Moderation/poll.js +++ b/commands/Moderation/poll.js @@ -9,7 +9,7 @@ class Poll extends Command { enabled: true, guildOnly: true, aliases: [], - memberPermissions: ["MENTION_EVERYONE"], + memberPermissions: ["MANAGE_MESSAGES"], botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"], nsfw: false, ownerOnly: false,