Add a Single t

This commit is contained in:
Daniel Odendahl Jr
2017-04-03 22:48:41 +00:00
parent 2a4fb25b15
commit 5519f74b6a
+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = class LockdownCommand extends commando.Command {
async run(message, args) {
if (message.channel.type !== 'dm') {
if (!message.channel.permissionsFor(this.client.user).hasPermission(['READ_MESSAGES', 'SEND_MESSAGES'])) return;
if (!message.channel.permissionsFor(this.client.user).hasPermission('ADMINISTRATOR')) return message.say(":x: Error! I don't have the Administrator permission! This is not given by default, as tha's quite bad practice. Please give it to me to use the lockdown command!");
if (!message.channel.permissionsFor(this.client.user).hasPermission('ADMINISTRATOR')) return message.say(":x: Error! I don't have the Administrator permission! This is not given by default, as that's quite bad practice. Please give it to me to use the lockdown command!");
}
console.log(`[Command] ${message.content}`);
const type = args.type;