Wynaut and Pikachu

This commit is contained in:
Daniel Odendahl Jr
2017-11-08 02:32:40 +00:00
parent 56d6fbf801
commit 586109f402
4 changed files with 65 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
[
"https://i.imgur.com/7yQdFC2.jpg",
"https://i.imgur.com/76S8DP5.jpg",
"https://i.imgur.com/2OmeiAr.jpg",
"https://i.imgur.com/kHaOJhF.jpg",
"https://i.imgur.com/SS0edvc.jpg",
"https://i.imgur.com/T41LFTl.png",
"https://i.imgur.com/BxZaxCM.png",
"https://i.imgur.com/8kdR6Pn.png",
"https://i.imgur.com/Ygt9WwI.jpg",
"https://i.imgur.com/8sUZzzf.jpg",
"https://i.imgur.com/m160og9.jpg",
"https://i.imgur.com/HharYbL.jpg",
"https://i.imgur.com/hroKoWi.jpg",
"https://i.imgur.com/NWxk4Lu.jpg",
"https://i.imgur.com/SUFg7LM.png",
"https://i.imgur.com/lcmlAlK.png",
"https://i.imgur.com/dCJItk8.jpg",
"https://i.imgur.com/iSzuoCl.jpg",
"https://i.imgur.com/PjfSo5K.jpg",
"https://i.imgur.com/Ln88AEW.png",
"https://i.imgur.com/1IX39AP.gif",
"https://i.imgur.com/AYu5QF1.png",
"https://i.imgur.com/dAvcP4K.png",
"https://i.imgur.com/tsul2xB.jpg",
"https://i.imgur.com/pESXaS0.jpg"
]
+19
View File
@@ -0,0 +1,19 @@
const { Command } = require('discord.js-commando');
const pikachus = require('../../assets/json/pikachu');
module.exports = class PikachuCommand extends Command {
constructor(client) {
super(client, {
name: 'pikachu',
aliases: ['pika'],
group: 'random-res',
memberName: 'pikachu',
description: 'Responds with a random image of Pikachu.',
clientPermissions: ['ATTACH_FILES']
});
}
run(msg) {
return msg.say({ files: [pikachus[Math.floor(Math.random() * pikachus.length)]] });
}
};
+18
View File
@@ -0,0 +1,18 @@
const { Command } = require('discord.js-commando');
module.exports = class WynautCommand extends Command {
constructor(client) {
super(client, {
name: 'wynaut',
aliases: ['why-not'],
group: 'single-res',
memberName: 'wynaut',
description: 'Why not? Wynaut?',
clientPermissions: ['ATTACH_FILES']
});
}
run(msg) {
return msg.say({ files: ['https://i.imgur.com/6ew9ysx.png'] });
}
};
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "53.0.0",
"version": "53.1.0",
"description": "Your personal server companion.",
"main": "XiaoBot.js",
"scripts": {