mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 05:54:33 +02:00
Space after conditionals
This commit is contained in:
@@ -8,11 +8,7 @@ module.exports = class GuildInfoCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'server',
|
||||
aliases: [
|
||||
'guild',
|
||||
'server-info',
|
||||
'guild-info'
|
||||
],
|
||||
aliases: ['guild', 'server-info', 'guild-info'],
|
||||
group: 'guildinfo',
|
||||
memberName: 'server',
|
||||
description: 'Gives some info on the current server.',
|
||||
@@ -21,7 +17,7 @@ module.exports = class GuildInfoCommand extends Command {
|
||||
}
|
||||
|
||||
run(msg) {
|
||||
if(!msg.channel.permissionsFor(this.client.user).has('EMBED_LINKS'))
|
||||
if (!msg.channel.permissionsFor(this.client.user).has('EMBED_LINKS'))
|
||||
return msg.say('This Command requires the `Embed Links` Permission.');
|
||||
const embed = new RichEmbed()
|
||||
.setColor(0x00AE86)
|
||||
|
||||
Reference in New Issue
Block a user