Oracle Turret

This commit is contained in:
Daniel Odendahl Jr
2017-11-14 18:50:35 +00:00
parent d15f22893a
commit d6713d01f1
3 changed files with 32 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
[
"Hello.",
"I'm different.",
"Get mad.",
"Don't make lemonade.",
"Prometheus was punished by the gods for giving the gift of knowledge to man. He was cast into the bowels of the Earth and pecked by birds.",
"It won't be enough.",
"The answer is beneath us.",
"Her name is Caroline.",
"Remember that.",
"That's all I can say.",
"Don't forget."
]
+18
View File
@@ -0,0 +1,18 @@
const { Command } = require('discord.js-commando');
const quotes = require('../../assets/json/oracle-turret');
module.exports = class OracleTurretCommand extends Command {
constructor(client) {
super(client, {
name: 'oracle-turret',
aliases: ['im-different'],
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)]);
}
};
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "54.2.1",
"version": "54.3.0",
"description": "Your personal server companion.",
"main": "XiaoBot.js",
"scripts": {