From c484753ee15dbe2a5ce9c6297f22fabb52ce3b7e Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 24 Feb 2018 14:59:35 -0500 Subject: New Command system --- commands/Fun/cureboredom.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 commands/Fun/cureboredom.js (limited to 'commands/Fun/cureboredom.js') diff --git a/commands/Fun/cureboredom.js b/commands/Fun/cureboredom.js new file mode 100644 index 0000000..9996645 --- /dev/null +++ b/commands/Fun/cureboredom.js @@ -0,0 +1,23 @@ +exports.run = (bot, msg, args) => { + const ideas = [ + 'Pokemon Go to the polls :ballot_box:', + 'Consuming Maccas :fries:', + 'Fighting AstralMod :right_facing_fist:', + 'Joining a team :handshake:', + 'Have a battle :crossed_swords:', + ]; + + if (args[0] === 'list') return msg.channel.send(ideas.join('\n')); + + msg.channel.send(ideas[Math.floor(Math.random() * ideas.length)]); +}; + +exports.conf = { + aliases: [], + guildOnly: true, +}; + +exports.help = { + name: 'cureboredom', + description: 'Finds you something to do.', +}; -- cgit v1.2.3