mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 21:40:51 +02:00
Re-implement auto commands
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
const Command = require('../../structures/commands/AutoReply');
|
||||
|
||||
module.exports = class CanYouNotCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'can-you-not',
|
||||
aliases: ['can-u-not'],
|
||||
group: 'auto',
|
||||
memberName: 'can-you-not',
|
||||
description: 'Can YOU not?',
|
||||
patterns: [/^(can (you|u) not\??)$/i]
|
||||
});
|
||||
}
|
||||
|
||||
generateText() {
|
||||
return 'Can YOU not?';
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
const Command = require('../../structures/commands/AutoReply');
|
||||
|
||||
module.exports = class UnflipCommand extends Command {
|
||||
constructor(client, info) {
|
||||
super(client, {
|
||||
name: 'unflip',
|
||||
group: 'auto',
|
||||
memberName: 'unflip',
|
||||
description: 'Unflips a table.',
|
||||
patterns: [/\(╯°□°)╯︵ ┻━┻/i]
|
||||
});
|
||||
}
|
||||
|
||||
generateText() {
|
||||
return '┬─┬ノ( º _ ºノ)';
|
||||
}
|
||||
};
|
||||
@@ -1,17 +0,0 @@
|
||||
const Command = require('../../framework/Command');
|
||||
|
||||
module.exports = class CanYouNotCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'can-you-not',
|
||||
aliases: ['can-u-not'],
|
||||
group: 'single',
|
||||
memberName: 'can-you-not',
|
||||
description: 'Can YOU not?'
|
||||
});
|
||||
}
|
||||
|
||||
run(msg) {
|
||||
return msg.say('Can YOU not?');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user