mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 06:10:49 +02:00
19 lines
457 B
JavaScript
19 lines
457 B
JavaScript
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.`);
|
|
}
|
|
};
|