Axis Cult Command

This commit is contained in:
Dragon Fire
2019-11-06 18:39:41 -05:00
parent 61ba69e6ae
commit 4b6cf9bcb2
4 changed files with 42 additions and 2 deletions
+28
View File
@@ -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)]);
}
};