Oracle Turret

This commit is contained in:
Daniel Odendahl Jr
2017-11-14 18:50:35 +00:00
parent d15f22893a
commit d6713d01f1
3 changed files with 32 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
const { Command } = require('discord.js-commando');
const quotes = require('../../assets/json/oracle-turret');
module.exports = class OracleTurretCommand extends Command {
constructor(client) {
super(client, {
name: 'oracle-turret',
aliases: ['im-different'],
group: 'random',
memberName: 'oracle-turret',
description: 'Responds with a random Oracle Turret quote.'
});
}
run(msg) {
return msg.say(quotes[Math.floor(Math.random() * quotes.length)]);
}
};