This commit is contained in:
Dragon Fire
2020-04-11 11:29:40 -04:00
parent dfe8c0a5e0
commit fe3a92a76e
13 changed files with 18 additions and 17 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ module.exports = class MockingCommand extends Command {
}
run(msg, { text }) {
const canEmoji = msg.channel.type === 'text'
const canEmoji = msg.guild
? msg.channel.permissionsFor(this.client.user).has('USE_EXTERNAL_EMOJIS')
: true;
const letters = text.split('');