Files
xiao/commands/random/canyounot.js
T
2017-04-08 03:35:45 +00:00

21 lines
626 B
JavaScript

const commando = require('discord.js-commando');
module.exports = class CanYouNotCommand extends commando.Command {
constructor(Client) {
super(Client, {
name: 'canyounot',
group: 'random',
memberName: 'canyounot',
description: 'Can YOU not? (;canyounot)',
examples: [';canyounot']
});
}
run(message) {
if (message.channel.type !== 'dm') {
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
}
return message.say('Can YOU not?');
}
};