mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-14 15:57:42 +02:00
Axis Cult Command
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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)]);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user