mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
29 lines
711 B
JavaScript
29 lines
711 B
JavaScript
const Command = require('../../structures/Command');
|
|
const teachings = require('../../assets/json/axis-cult');
|
|
|
|
module.exports = class AxisCultCommand extends Command {
|
|
constructor(client) {
|
|
super(client, {
|
|
name: 'axis-cult',
|
|
aliases: ['axis', 'axis-pray'],
|
|
group: 'random',
|
|
memberName: 'axis-cult',
|
|
description: 'Responds with a teaching of the Axis Cult.',
|
|
credit: [
|
|
{
|
|
name: 'Axis Order Bot',
|
|
url: 'https://www.reddit.com/r/axisorderbot/wiki/index'
|
|
},
|
|
{
|
|
name: 'Konosuba: God\'s Blessing on this Wonderful World!',
|
|
url: 'http://konosuba.com/'
|
|
}
|
|
]
|
|
});
|
|
}
|
|
|
|
run(msg) {
|
|
return msg.say(teachings[Math.floor(Math.random() * teachings.length)]);
|
|
}
|
|
};
|