Add the greatest module in existence

This commit is contained in:
Daniel Odendahl Jr
2018-10-01 17:27:11 +00:00
parent b16a6940a8
commit fe128a9831
3 changed files with 22 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
const Command = require('../../structures/Command');
const isTuesday = require('is-tuesday');
module.exports = class IsTuesdayCommand extends Command {
constructor(client) {
super(client, {
name: 'is-tuesday',
aliases: ['is-it-tuesday', 'tuesday'],
group: 'events',
memberName: 'is-tuesday',
description: 'Determines if today is Tuesday.'
});
}
run(msg) {
return msg.say(`Today is${isTuesday() ? '' : ' **not**'} Tuesday.`);
}
};