Should always be true in DM

This commit is contained in:
Dragon Fire
2020-03-13 23:04:37 -04:00
parent 6ad91c5958
commit 3df29b9558
+2 -1
View File
@@ -23,7 +23,8 @@ module.exports = class MockingCommand extends Command {
run(msg, { text }) {
const canEmoji = msg.channel.type === 'text'
&& msg.channel.permissionsFor(this.client.user).has('USE_EXTERNAL_EMOJIS');
? msg.channel.permissionsFor(this.client.user).has('USE_EXTERNAL_EMOJIS')
: true;
const letters = text.split('');
for (let i = 0; i < letters.length; i += Math.floor(Math.random() * 4)) {
letters[i] = letters[i].toUpperCase();