mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-11 11:21:16 +02:00
Fix Error
This commit is contained in:
@@ -20,7 +20,7 @@ module.exports = class GuildInfoCommand extends Command {
|
||||
}
|
||||
|
||||
run(message) {
|
||||
if (!message.channel.permissionsFor(this.client.user).permissions.has('EMBED_LINKS'))
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS'))
|
||||
return message.say('This Command requires the `Embed Links` Permission.');
|
||||
const embed = new RichEmbed()
|
||||
.setColor(0x00AE86)
|
||||
|
||||
Reference in New Issue
Block a user