mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 08:22:37 +02:00
Bye to some useless stuff
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
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...');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user