Space after conditionals

This commit is contained in:
Daniel Odendahl Jr
2017-05-08 13:46:36 +00:00
parent 7e20086b2a
commit 8ba552b21a
78 changed files with 313 additions and 379 deletions
+2 -5
View File
@@ -4,10 +4,7 @@ module.exports = class SayCommand extends Command {
constructor(client) {
super(client, {
name: 'say',
aliases: [
'copy',
'echo'
],
aliases: ['copy', 'echo'],
group: 'textedit',
memberName: 'say',
description: 'Make XiaoBot say what you wish.',
@@ -23,7 +20,7 @@ module.exports = class SayCommand extends Command {
}
run(msg, args) {
if(!msg.channel.permissionsFor(this.client.user).has('MANAGE_MESSAGES'))
if (!msg.channel.permissionsFor(this.client.user).has('MANAGE_MESSAGES'))
return msg.say('This Command requires the `Manage Messages` Permission.');
const { text } = args;
msg.delete();