Various Fixes and Improvements

This commit is contained in:
Dragon Fire
2021-01-13 17:18:36 -05:00
parent 2061cd77f3
commit 01bc9e7a10
8 changed files with 74 additions and 37 deletions
+7 -1
View File
@@ -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: [
-27
View File
@@ -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')] });
}
};