mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 08:22:22 +02:00
Fix
This commit is contained in:
@@ -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('');
|
||||
|
||||
Reference in New Issue
Block a user