mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 00:07:36 +02:00
Various Fixes and Improvements
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const path = require('path');
|
||||
const { list } = require('../../util/Util');
|
||||
const types = ['default', 'moth', 'jojo', 'spoiler'];
|
||||
const types = ['default', 'moth', 'jojo', 'spoiler', 'nitro'];
|
||||
|
||||
module.exports = class DarkLightCommand extends Command {
|
||||
constructor(client) {
|
||||
@@ -30,6 +30,12 @@ module.exports = class DarkLightCommand extends Command {
|
||||
name: 'JoJo\'s Bizzare Adventure',
|
||||
url: 'http://www.araki-jojo.com/',
|
||||
reason: 'Original Anime'
|
||||
},
|
||||
{
|
||||
name: 'u/MoonlightCapital',
|
||||
url: 'https://www.reddit.com/user/MoonlightCapital/',
|
||||
reason: 'Image',
|
||||
reasonURL: 'https://www.reddit.com/r/discordapp/comments/a9fr7x/troll_your_friends_with_this/'
|
||||
}
|
||||
],
|
||||
args: [
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const path = require('path');
|
||||
|
||||
module.exports = class NitroCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'nitro',
|
||||
aliases: ['fake-nitro'],
|
||||
group: 'single',
|
||||
memberName: 'nitro',
|
||||
description: 'Sends an image of a fake nitro giveaway.',
|
||||
clientPermissions: ['ATTACH_FILES'],
|
||||
credit: [
|
||||
{
|
||||
name: 'u/MoonlightCapital',
|
||||
url: 'https://www.reddit.com/user/MoonlightCapital/',
|
||||
reason: 'Image',
|
||||
reasonURL: 'https://www.reddit.com/r/discordapp/comments/a9fr7x/troll_your_friends_with_this/'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
run(msg) {
|
||||
return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'nitro.png')] });
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user