mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 16:19:12 +02:00
Wynaut and Pikachu
This commit is contained in:
@@ -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"
|
||||
]
|
||||
@@ -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)]] });
|
||||
}
|
||||
};
|
||||
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiaobot",
|
||||
"version": "53.0.0",
|
||||
"version": "53.1.0",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "XiaoBot.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user