mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
18 lines
452 B
JavaScript
18 lines
452 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.'
|
|
});
|
|
}
|
|
|
|
run(msg) {
|
|
return msg.say(quotes[Math.floor(Math.random() * quotes.length)]);
|
|
}
|
|
};
|