mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 07:46:43 +02:00
24 lines
551 B
JavaScript
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)]);
|
|
}
|
|
};
|