Split random response and random image, Lando Command

This commit is contained in:
Dragon Fire
2020-03-23 11:42:43 -04:00
parent faa42bd6d8
commit 9745b15e57
57 changed files with 101 additions and 66 deletions
@@ -6,7 +6,7 @@ module.exports = class BirdCommand extends Command {
super(client, {
name: 'bird',
aliases: ['birb'],
group: 'random',
group: 'random-img',
memberName: 'bird',
description: 'Responds with a random image of a bird.',
clientPermissions: ['ATTACH_FILES'],
@@ -6,7 +6,7 @@ module.exports = class CatCommand extends Command {
super(client, {
name: 'cat',
aliases: ['neko', 'kitty'],
group: 'random',
group: 'random-img',
memberName: 'cat',
description: 'Responds with a random cat image.',
clientPermissions: ['ATTACH_FILES'],
@@ -6,7 +6,7 @@ module.exports = class DogCommand extends Command {
super(client, {
name: 'dog',
aliases: ['puppy'],
group: 'random',
group: 'random-img',
memberName: 'dog',
description: 'Responds with a random dog image.',
clientPermissions: ['ATTACH_FILES'],
@@ -6,7 +6,7 @@ module.exports = class DuckCommand extends Command {
super(client, {
name: 'duck',
aliases: ['ducky'],
group: 'random',
group: 'random-img',
memberName: 'duck',
description: 'Responds with a random duck image.',
clientPermissions: ['ATTACH_FILES'],
@@ -6,7 +6,7 @@ module.exports = class FidgetCommand extends ImgurAlbumCommand {
super(client, {
name: 'fidget',
aliases: ['nimbat'],
group: 'random',
group: 'random-img',
memberName: 'fidget',
description: 'Responds with a random image of Fidget.',
clientPermissions: ['ATTACH_FILES'],
@@ -5,7 +5,7 @@ module.exports = class FoxCommand extends Command {
constructor(client) {
super(client, {
name: 'fox',
group: 'random',
group: 'random-img',
memberName: 'fox',
description: 'Responds with a random fox image.',
clientPermissions: ['ATTACH_FILES'],
@@ -6,7 +6,7 @@ module.exports = class KarenCommand extends ImgurAlbumCommand {
super(client, {
name: 'karen',
aliases: ['ayaya'],
group: 'random',
group: 'random-img',
memberName: 'karen',
description: 'Responds with a random image of Karen.',
clientPermissions: ['ATTACH_FILES'],
+27
View File
@@ -0,0 +1,27 @@
const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum');
const { LANDO_ALBUM_ID } = process.env;
module.exports = class LandoCommand extends ImgurAlbumCommand {
constructor(client) {
super(client, {
name: 'lando',
aliases: ['lando-calrissian', 'calrissian'],
group: 'random-img',
memberName: 'lando',
description: 'Responds with a random image of Lando Calrissian.',
clientPermissions: ['ATTACH_FILES'],
albumID: LANDO_ALBUM_ID,
credit: [
{
name: 'Star Wars',
url: 'https://www.starwars.com/',
reason: 'Original Movie'
}
]
});
}
generateText() {
return 'How you doin\', ya old pirate? So good to see ya!';
}
};
@@ -7,7 +7,7 @@ module.exports = class LightNovelCoverCommand extends Command {
super(client, {
name: 'light-novel-cover',
aliases: ['ln-cover'],
group: 'random',
group: 'random-img',
memberName: 'light-novel-cover',
description: 'Responds with a randomly generated Light Novel cover.',
nsfw: true,
@@ -7,7 +7,7 @@ module.exports = class MemeCommand extends SubredditCommand {
constructor(client) {
super(client, {
name: 'meme',
group: 'random',
group: 'random-img',
memberName: 'meme',
description: 'Responds with a random meme.',
details: `**Subreddits:** ${subreddits.join(', ')}`,
@@ -5,7 +5,7 @@ module.exports = class PotatoCommand extends ImgurAlbumCommand {
constructor(client) {
super(client, {
name: 'potato',
group: 'random',
group: 'random-img',
memberName: 'potato',
description: 'Responds with a random potato image.',
clientPermissions: ['ATTACH_FILES'],
@@ -6,7 +6,7 @@ module.exports = class ShibaCommand extends Command {
super(client, {
name: 'shiba',
aliases: ['shiba-inu', 'shibe', 'shibe-inu', 'doge'],
group: 'random',
group: 'random-img',
memberName: 'shiba',
description: 'Responds with a random image of a Shiba Inu.',
clientPermissions: ['ATTACH_FILES'],
@@ -6,7 +6,7 @@ module.exports = class XiaoCommand extends ImgurAlbumCommand {
super(client, {
name: 'xiao',
aliases: ['xiao-pai', 'iao'],
group: 'random',
group: 'random-img',
memberName: 'xiao',
description: 'Responds with a random image of Xiao Pai.',
clientPermissions: ['ATTACH_FILES'],
@@ -7,7 +7,7 @@ module.exports = class EightBallCommand extends Command {
super(client, {
name: '8-ball',
aliases: ['magic-8-ball', 'eight-ball', 'magic-eight-ball'],
group: 'random',
group: 'random-res',
memberName: '8-ball',
description: 'Asks your question to the Magic 8 Ball.',
credit: [
@@ -6,7 +6,7 @@ module.exports = class AdviceCommand extends Command {
super(client, {
name: 'advice',
aliases: ['advice-slip'],
group: 'random',
group: 'random-res',
memberName: 'advice',
description: 'Responds with a random bit of advice.',
credit: [
@@ -6,7 +6,7 @@ module.exports = class AxisCultCommand extends Command {
super(client, {
name: 'axis-cult',
aliases: ['axis', 'axis-pray'],
group: 'random',
group: 'random-res',
memberName: 'axis-cult',
description: 'Responds with a teaching of the Axis Cult.',
credit: [
@@ -6,7 +6,7 @@ module.exports = class CatFactCommand extends Command {
super(client, {
name: 'cat-fact',
aliases: ['neko-fact', 'kitty-fact'],
group: 'random',
group: 'random-res',
memberName: 'cat-fact',
description: 'Responds with a random cat fact.'
});
@@ -7,7 +7,7 @@ module.exports = class CharlieCharlieCommand extends Command {
super(client, {
name: 'charlie-charlie',
aliases: ['charlie-charlie-challenge'],
group: 'random',
group: 'random-res',
memberName: 'charlie-charlie',
description: 'Asks your question to Charlie.',
args: [
@@ -5,7 +5,7 @@ module.exports = class ChooseCommand extends Command {
super(client, {
name: 'choose',
aliases: ['pick'],
group: 'random',
group: 'random-res',
memberName: 'choose',
description: 'Chooses between options you provide.',
args: [
@@ -6,7 +6,7 @@ module.exports = class ChuckNorrisCommand extends Command {
super(client, {
name: 'chuck-norris',
aliases: ['norris'],
group: 'random',
group: 'random-res',
memberName: 'chuck-norris',
description: 'Responds with a random Chuck Norris joke.',
credit: [
@@ -6,7 +6,7 @@ module.exports = class CoinCommand extends Command {
super(client, {
name: 'coin',
aliases: ['coin-flip', 'flip'],
group: 'random',
group: 'random-res',
memberName: 'coin',
description: 'Flips a coin.'
});
@@ -5,7 +5,7 @@ module.exports = class ComplimentCommand extends Command {
constructor(client) {
super(client, {
name: 'compliment',
group: 'random',
group: 'random-res',
memberName: 'compliment',
description: 'Compliments a user.',
args: [
@@ -6,7 +6,7 @@ module.exports = class DogFactCommand extends Command {
super(client, {
name: 'dog-fact',
aliases: ['puppy-fact'],
group: 'random',
group: 'random-res',
memberName: 'dog-fact',
description: 'Responds with a random dog fact.'
});
@@ -8,7 +8,7 @@ module.exports = class DrawCardsCommand extends Command {
super(client, {
name: 'draw-cards',
aliases: ['draw-hand'],
group: 'random',
group: 'random-res',
memberName: 'draw-cards',
description: 'Draws a random hand of playing cards.',
args: [
@@ -5,7 +5,7 @@ module.exports = class FactCoreCommand extends Command {
constructor(client) {
super(client, {
name: 'fact-core',
group: 'random',
group: 'random-res',
memberName: 'fact-core',
description: 'Responds with a random Fact Core quote.',
credit: [
@@ -5,7 +5,7 @@ module.exports = class FactCommand extends Command {
constructor(client) {
super(client, {
name: 'fact',
group: 'random',
group: 'random-res',
memberName: 'fact',
description: 'Responds with a random fact.',
credit: [
@@ -7,7 +7,7 @@ module.exports = class FortuneCommand extends Command {
super(client, {
name: 'fortune',
aliases: ['fortune-cookie'],
group: 'random',
group: 'random-res',
memberName: 'fortune',
description: 'Responds with a random fortune.'
});
@@ -6,7 +6,7 @@ module.exports = class GithubZenCommand extends Command {
super(client, {
name: 'github-zen',
aliases: ['gh-zen'],
group: 'random',
group: 'random-res',
memberName: 'github-zen',
description: 'Responds with a random GitHub design philosophy.',
credit: [
@@ -5,7 +5,7 @@ module.exports = class JokeCommand extends Command {
constructor(client) {
super(client, {
name: 'joke',
group: 'random',
group: 'random-res',
memberName: 'joke',
description: 'Responds with a random joke.'
});
@@ -18,7 +18,7 @@ module.exports = class KissMarryKillCommand extends Command {
'marry-fuck-kill',
'marry-kill-fuck'
],
group: 'random',
group: 'random-res',
memberName: 'kiss-marry-kill',
description: 'Determines who to kiss, who to marry, and who to kill.',
args: [
@@ -6,7 +6,7 @@ module.exports = class LightNovelTitleCommand extends Command {
super(client, {
name: 'light-novel-title',
aliases: ['ln-title'],
group: 'random',
group: 'random-res',
memberName: 'light-novel-title',
description: 'Responds with a randomly generated Light Novel title.',
credit: [
@@ -7,7 +7,7 @@ module.exports = class MagicConchCommand extends Command {
super(client, {
name: 'magic-conch',
aliases: ['magic-conch-shell'],
group: 'random',
group: 'random-res',
memberName: 'magic-conch',
description: 'Asks your question to the Magic Conch.',
credit: [
@@ -8,7 +8,7 @@ module.exports = class NameCommand extends Command {
constructor(client) {
super(client, {
name: 'name',
group: 'random',
group: 'random-res',
memberName: 'name',
description: 'Responds with a random name, with the gender of your choice.',
args: [
@@ -5,7 +5,7 @@ module.exports = class NumberFactCommand extends Command {
constructor(client) {
super(client, {
name: 'number-fact',
group: 'random',
group: 'random-res',
memberName: 'number-fact',
description: 'Responds with a random fact about a specific number.',
credit: [
@@ -6,7 +6,7 @@ module.exports = class OffspringCommand extends Command {
super(client, {
name: 'offspring',
aliases: ['sex'],
group: 'random',
group: 'random-res',
memberName: 'offspring',
description: 'Determines if your new child will be a boy or a girl.'
});
@@ -6,7 +6,7 @@ module.exports = class OpinionCommand extends Command {
constructor(client) {
super(client, {
name: 'opinion',
group: 'random',
group: 'random-res',
memberName: 'opinion',
description: 'Determines the opinion on something.',
args: [
@@ -5,7 +5,7 @@ module.exports = class OracleTurretCommand extends Command {
constructor(client) {
super(client, {
name: 'oracle-turret',
group: 'random',
group: 'random-res',
memberName: 'oracle-turret',
description: 'Responds with a random Oracle Turret quote.',
credit: [
@@ -5,7 +5,7 @@ module.exports = class PunCommand extends Command {
constructor(client) {
super(client, {
name: 'pun',
group: 'random',
group: 'random-res',
memberName: 'pun',
description: 'Responds with a random pun.'
});
@@ -6,7 +6,7 @@ module.exports = class QuantumCoinCommand extends Command {
super(client, {
name: 'quantum-coin',
aliases: ['q-coin'],
group: 'random',
group: 'random-res',
memberName: 'quantum-coin',
description: 'Flips a coin that lands on some form of nothing.'
});
@@ -5,7 +5,7 @@ module.exports = class QuoteCommand extends Command {
constructor(client) {
super(client, {
name: 'quote',
group: 'random',
group: 'random-res',
memberName: 'quote',
description: 'Responds with a random quote.'
});
@@ -5,7 +5,7 @@ module.exports = class RandomUserCommand extends Command {
super(client, {
name: 'random-user',
aliases: ['member-roulette', 'user-roulette', 'random-member', 'someone', '@someone'],
group: 'random',
group: 'random-res',
memberName: 'random-user',
description: 'Randomly chooses a member of the server.'
});
@@ -5,7 +5,7 @@ module.exports = class RateCommand extends Command {
super(client, {
name: 'rate',
aliases: ['rate-waifu'],
group: 'random',
group: 'random-res',
memberName: 'rate',
description: 'Rates something.',
args: [
@@ -6,7 +6,7 @@ module.exports = class RoastCommand extends Command {
super(client, {
name: 'roast',
aliases: ['insult'],
group: 'random',
group: 'random-res',
memberName: 'roast',
description: 'Roasts a user.',
args: [
@@ -6,7 +6,7 @@ module.exports = class RollCommand extends Command {
super(client, {
name: 'roll',
aliases: ['dice'],
group: 'random',
group: 'random-res',
memberName: 'roll',
description: 'Rolls a dice with a maximum value of your choice.',
args: [
@@ -6,7 +6,7 @@ module.exports = class SecurityKeyCommand extends Command {
super(client, {
name: 'security-key',
aliases: ['crypto', 'random-bytes'],
group: 'random',
group: 'random-res',
memberName: 'security-key',
description: 'Responds with a random security key.'
});
@@ -5,7 +5,7 @@ module.exports = class ShowerThoughtCommand extends SubredditCommand {
super(client, {
name: 'shower-thought',
aliases: ['shower-thoughts'],
group: 'random',
group: 'random-res',
memberName: 'shower-thought',
description: 'Responds with a random shower thought, directly from r/Showerthoughts.',
subreddit: 'Showerthoughts',
@@ -6,7 +6,7 @@ module.exports = class SmwLevelCommand extends Command {
super(client, {
name: 'smw-level',
aliases: ['super-mario-world-level'],
group: 'random',
group: 'random-res',
memberName: 'smw-level',
description: 'Responds with a random Super Mario World level name.',
credit: [
@@ -7,7 +7,7 @@ module.exports = class SubredditCommand extends SubredditCommandBase {
super(client, {
name: 'subreddit',
aliases: ['r/', 'sub'],
group: 'random',
group: 'random-res',
memberName: 'subreddit',
description: 'Responds with a random post from a subreddit.',
clientPermissions: ['EMBED_LINKS'],
@@ -6,7 +6,7 @@ module.exports = class SuggestCommandCommand extends Command {
super(client, {
name: 'suggest-command',
aliases: ['command-suggestion', 'command-suggest'],
group: 'random',
group: 'random-res',
memberName: 'suggest-command',
description: 'Suggests a random command for you to try.'
});
@@ -7,7 +7,7 @@ module.exports = class SuperpowerCommand extends Command {
constructor(client) {
super(client, {
name: 'superpower',
group: 'random',
group: 'random-res',
memberName: 'superpower',
description: 'Responds with a random superpower.',
credit: [
@@ -6,7 +6,7 @@ module.exports = class ThisForThatCommand extends Command {
super(client, {
name: 'this-for-that',
aliases: ['its-this-for-that'],
group: 'random',
group: 'random-res',
memberName: 'this-for-that',
description: 'So, basically, it\'s like a bot command for this dumb meme.',
credit: [
@@ -8,7 +8,7 @@ module.exports = class WaifuCommand extends Command {
super(client, {
name: 'waifu',
aliases: ['this-waifu-does-not-exist'],
group: 'random',
group: 'random-res',
memberName: 'waifu',
description: 'Responds with a randomly generated waifu and backstory.',
clientPermissions: ['EMBED_LINKS'],
@@ -6,7 +6,7 @@ module.exports = class WouldYouRatherCommand extends Command {
super(client, {
name: 'would-you-rather',
aliases: ['wy-rather', 'wyr'],
group: 'random',
group: 'random-res',
memberName: 'would-you-rather',
description: 'Responds with a random "Would you rather ...?" question.'
});