mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 21:40:51 +02:00
Is It Christmas? and some aliases
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
const { Command } = require('discord.js-commando');
|
||||
|
||||
module.exports = class IsItChristmasCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'is-it-christmas',
|
||||
group: 'events',
|
||||
memberName: 'is-it-christmas',
|
||||
description: 'Responds with whether or not it\'s Christmas.'
|
||||
});
|
||||
}
|
||||
|
||||
run(msg) {
|
||||
const today = new Date();
|
||||
if (today.getMonth() === 11 && today.getDate() === 25) {
|
||||
return msg.reply('YES!!!', { files: ['https://i.imgur.com/B1fyMlc.jpg'] });
|
||||
}
|
||||
return msg.reply('No, not yet...');
|
||||
}
|
||||
};
|
||||
@@ -9,6 +9,7 @@ module.exports = class NekoAtsumePasswordCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'neko-atsume-password',
|
||||
aliases: ['neko-atsume', 'neko-password', 'neko-atsume-pswd', 'neko-pswd'],
|
||||
group: 'events',
|
||||
memberName: 'neko-atsume-password',
|
||||
description: 'Responds with today\'s Neko Atsume password.',
|
||||
|
||||
Reference in New Issue
Block a user