mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fidget Command
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[
|
||||
"https://i.imgur.com/P1QI7TO.png",
|
||||
"https://i.imgur.com/xrjwSxi.jpg",
|
||||
"https://i.imgur.com/Rer0yV3.jpg",
|
||||
"https://i.imgur.com/tDvFFT3.png",
|
||||
"https://i.imgur.com/2BhEkHy.jpg",
|
||||
"https://i.imgur.com/FGRJINh.png",
|
||||
"https://i.imgur.com/gusIoya.png",
|
||||
"https://i.imgur.com/WuxRIhV.jpg",
|
||||
"https://i.imgur.com/UXfjfwF.jpg",
|
||||
"https://i.imgur.com/D0ksnk9.jpg",
|
||||
"https://i.imgur.com/u7oS4YL.jpg",
|
||||
"https://i.imgur.com/LCyFaks.jpg",
|
||||
"https://i.imgur.com/9rhQ3Un.jpg",
|
||||
"https://i.imgur.com/rk5A0Kl.png",
|
||||
]
|
||||
@@ -0,0 +1,19 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const nimbats = require('../../assets/json/fidget');
|
||||
|
||||
module.exports = class FidgetCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'fidget',
|
||||
aliases: ['nimbat'],
|
||||
group: 'random-img',
|
||||
memberName: 'fidget',
|
||||
description: 'Responds with a random image of Fidget.',
|
||||
clientPermissions: ['ATTACH_FILES']
|
||||
});
|
||||
}
|
||||
|
||||
run(msg) {
|
||||
return msg.say({ files: [nimbats[Math.floor(Math.random() * nimbats.length)]] });
|
||||
}
|
||||
};
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiaobot",
|
||||
"version": "40.2.0",
|
||||
"version": "40.3.0",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Shard.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user