Files
xiao/commands/random/oracle-turret.js
T
Daniel Odendahl Jr 45c8d62dd5 Credit Command
2019-04-14 00:03:38 +00:00

24 lines
551 B
JavaScript

const Command = require('../../structures/Command');
const quotes = require('../../assets/json/oracle-turret');
module.exports = class OracleTurretCommand extends Command {
constructor(client) {
super(client, {
name: 'oracle-turret',
group: 'random',
memberName: 'oracle-turret',
description: 'Responds with a random Oracle Turret quote.',
credit: [
{
name: 'Portal 2',
url: 'http://www.thinkwithportals.com/'
}
]
});
}
run(msg) {
return msg.say(quotes[Math.floor(Math.random() * quotes.length)]);
}
};