diff --git a/assets/images/rip.png b/assets/images/rip.png index 746a28f9..48257c4d 100644 Binary files a/assets/images/rip.png and b/assets/images/rip.png differ diff --git a/commands/analyze/butt.js b/commands/analyze/butt.js index ee87abf6..ba42293d 100644 --- a/commands/analyze/butt.js +++ b/commands/analyze/butt.js @@ -10,6 +10,12 @@ module.exports = class ButtCommand extends Command { group: 'analyze', memberName: 'butt', description: 'Determines a user\'s butt quality.', + credit: [ + { + name: 'iCrawl/Tohru', + url: 'https://github.com/iCrawl/Tohru/blob/master/src/commands/fun/butts.js' + } + ], args: [ { key: 'user', diff --git a/commands/analyze/face.js b/commands/analyze/face.js index dc332f49..66da3714 100644 --- a/commands/analyze/face.js +++ b/commands/analyze/face.js @@ -16,6 +16,12 @@ module.exports = class FaceCommand extends Command { usages: 1, duration: 30 }, + credit: [ + { + name: 'Face++ Cognitive Services', + url: 'https://www.faceplusplus.com/' + } + ], args: [ { key: 'image', diff --git a/commands/analyze/gender.js b/commands/analyze/gender.js index 8570997d..a5f6d0ba 100644 --- a/commands/analyze/gender.js +++ b/commands/analyze/gender.js @@ -9,6 +9,12 @@ module.exports = class GenderCommand extends Command { group: 'analyze', memberName: 'gender', description: 'Determines the gender of a name.', + credit: [ + { + name: 'Genderize.io', + url: 'https://genderize.io/' + } + ], args: [ { key: 'name', diff --git a/commands/analyze/psycho-pass.js b/commands/analyze/psycho-pass.js index 04acb15f..477f9e2d 100644 --- a/commands/analyze/psycho-pass.js +++ b/commands/analyze/psycho-pass.js @@ -10,6 +10,12 @@ module.exports = class PsychoPassCommand extends Command { group: 'analyze', memberName: 'psycho-pass', description: 'Determines your Crime Coefficient.', + credit: [ + { + name: 'PSYCHO-PASS', + url: 'http://psycho-pass.com/' + } + ], args: [ { key: 'user', diff --git a/commands/analyze/read-qr-code.js b/commands/analyze/read-qr-code.js index 749c44e6..5359dbec 100644 --- a/commands/analyze/read-qr-code.js +++ b/commands/analyze/read-qr-code.js @@ -10,6 +10,12 @@ module.exports = class ReadQRCodeCommand extends Command { group: 'analyze', memberName: 'read-qr-code', description: 'Reads a QR Code.', + credit: [ + { + name: 'QR Code Generator\'s QR code API', + url: 'http://goqr.me/api/' + } + ], args: [ { key: 'image', diff --git a/commands/analyze/scrabble-score.js b/commands/analyze/scrabble-score.js index e0f2df64..f4a720e8 100644 --- a/commands/analyze/scrabble-score.js +++ b/commands/analyze/scrabble-score.js @@ -10,6 +10,12 @@ module.exports = class ScrabbleScoreCommand extends Command { group: 'analyze', memberName: 'scrabble-score', description: 'Responds with the scrabble score of a word.', + credit: [ + { + name: 'Scrabble', + url: 'https://scrabble.hasbro.com/en-us' + } + ], args: [ { key: 'word', diff --git a/commands/analyze/severe-toxicity.js b/commands/analyze/severe-toxicity.js index 287000e3..6f17ca62 100644 --- a/commands/analyze/severe-toxicity.js +++ b/commands/analyze/severe-toxicity.js @@ -10,6 +10,12 @@ module.exports = class SevereToxicityCommand extends Command { group: 'analyze', memberName: 'severe-toxicity', description: 'Determines the toxicity of text, but less sensitive to milder language.', + credit: [ + { + name: 'Perspective API', + url: 'https://www.perspectiveapi.com/#/' + } + ], args: [ { key: 'text', diff --git a/commands/analyze/toxicity.js b/commands/analyze/toxicity.js index c2db4e5c..5b13668d 100644 --- a/commands/analyze/toxicity.js +++ b/commands/analyze/toxicity.js @@ -10,6 +10,12 @@ module.exports = class ToxicityCommand extends Command { group: 'analyze', memberName: 'toxicity', description: 'Determines the toxicity of text.', + credit: [ + { + name: 'Perspective API', + url: 'https://www.perspectiveapi.com/#/' + } + ], args: [ { key: 'text', diff --git a/commands/analyze/what-anime.js b/commands/analyze/what-anime.js index 21f7bc45..685acc70 100644 --- a/commands/analyze/what-anime.js +++ b/commands/analyze/what-anime.js @@ -11,6 +11,12 @@ module.exports = class WhatAnimeCommand extends Command { group: 'analyze', memberName: 'what-anime', description: 'Determines what anime a screenshot is from.', + credit: [ + { + name: 'WAIT: What Anime Is This?', + url: 'https://trace.moe/' + } + ], args: [ { key: 'screenshot', diff --git a/commands/avatar-edit/3000-years.js b/commands/avatar-edit/3000-years.js index 6cb21678..8ddb7d7d 100644 --- a/commands/avatar-edit/3000-years.js +++ b/commands/avatar-edit/3000-years.js @@ -16,6 +16,12 @@ module.exports = class ThreeThousandYearsCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Pokémon X and Pokémon Y', + url: 'https://www.pokemon.com/us/pokemon-video-games/pokemon-x-and-pokemon-y/' + } + ], args: [ { key: 'user', diff --git a/commands/avatar-edit/beautiful.js b/commands/avatar-edit/beautiful.js index bbe64f1e..ef2a81a9 100644 --- a/commands/avatar-edit/beautiful.js +++ b/commands/avatar-edit/beautiful.js @@ -16,6 +16,12 @@ module.exports = class BeautifulCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Gravity Falls', + url: 'https://disneynow.go.com/shows/gravity-falls' + } + ], args: [ { key: 'user', diff --git a/commands/avatar-edit/bob-ross.js b/commands/avatar-edit/bob-ross.js index 636bc287..559d1b4e 100644 --- a/commands/avatar-edit/bob-ross.js +++ b/commands/avatar-edit/bob-ross.js @@ -16,6 +16,12 @@ module.exports = class BobRossCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Bob Ross', + url: 'https://www.bobross.com/' + } + ], args: [ { key: 'user', diff --git a/commands/avatar-edit/challenger.js b/commands/avatar-edit/challenger.js index e7867e72..3bae086e 100644 --- a/commands/avatar-edit/challenger.js +++ b/commands/avatar-edit/challenger.js @@ -17,6 +17,12 @@ module.exports = class ChallengerCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Super Smash Bros.', + url: 'https://www.smashbros.com/en_US/index.html' + } + ], args: [ { key: 'user', diff --git a/commands/avatar-edit/dexter.js b/commands/avatar-edit/dexter.js index 5e5208b6..d689baa4 100644 --- a/commands/avatar-edit/dexter.js +++ b/commands/avatar-edit/dexter.js @@ -15,6 +15,12 @@ module.exports = class DexterCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Pokémon TV', + url: 'https://www.pokemon.com/us/pokemon-episodes/' + } + ], args: [ { key: 'user', diff --git a/commands/avatar-edit/distracted-boyfriend.js b/commands/avatar-edit/distracted-boyfriend.js index 7c851764..e8861607 100644 --- a/commands/avatar-edit/distracted-boyfriend.js +++ b/commands/avatar-edit/distracted-boyfriend.js @@ -16,6 +16,12 @@ module.exports = class DistractedBoyfriendCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Antonio Guillem', + url: 'http://antonioguillem.com/' + } + ], args: [ { key: 'otherGirl', diff --git a/commands/avatar-edit/drakeposting.js b/commands/avatar-edit/drakeposting.js index 54a811e1..79b52628 100644 --- a/commands/avatar-edit/drakeposting.js +++ b/commands/avatar-edit/drakeposting.js @@ -16,6 +16,12 @@ module.exports = class DrakepostingCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Drake - Hotline Bling', + url: 'https://youtu.be/uxpDa-c-4Mc' + } + ], args: [ { key: 'nah', diff --git a/commands/avatar-edit/food-broke.js b/commands/avatar-edit/food-broke.js index 09f95994..79a1cc87 100644 --- a/commands/avatar-edit/food-broke.js +++ b/commands/avatar-edit/food-broke.js @@ -17,6 +17,12 @@ module.exports = class FoodBrokeCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: '@liltusk', + url: 'https://twitter.com/liltusk' + } + ], args: [ { key: 'user', diff --git a/commands/avatar-edit/girl-worth-fighting-for.js b/commands/avatar-edit/girl-worth-fighting-for.js index b37567fe..13ea4982 100644 --- a/commands/avatar-edit/girl-worth-fighting-for.js +++ b/commands/avatar-edit/girl-worth-fighting-for.js @@ -16,6 +16,12 @@ module.exports = class GirlWorthFightingForCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Mulan', + url: 'https://movies.disney.com/mulan' + } + ], args: [ { key: 'user', diff --git a/commands/avatar-edit/hat.js b/commands/avatar-edit/hat.js index 41fa43e4..65101938 100644 --- a/commands/avatar-edit/hat.js +++ b/commands/avatar-edit/hat.js @@ -18,6 +18,28 @@ module.exports = class HatCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'ClipArtHut', + url: 'http://www.cliparthut.com/' + }, + { + name: 'PNG Arts', + url: 'https://www.pngarts.com/' + }, + { + name: 'misskatecuttables.com', + url: 'https://www.misskatecuttables.com/' + }, + { + name: 'WorldArtsMe', + url: 'http://worldartsme.com/' + }, + { + name: 'PinClipart', + url: 'https://www.pinclipart.com/' + } + ], args: [ { key: 'type', diff --git a/commands/avatar-edit/he-lives-in-you.js b/commands/avatar-edit/he-lives-in-you.js index db16ee10..4bebd7e6 100644 --- a/commands/avatar-edit/he-lives-in-you.js +++ b/commands/avatar-edit/he-lives-in-you.js @@ -17,6 +17,12 @@ module.exports = class HeLivesInYouCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'The Lion King', + url: 'https://movies.disney.com/the-lion-king' + } + ], args: [ { key: 'user', diff --git a/commands/avatar-edit/hearts.js b/commands/avatar-edit/hearts.js index 7512b7a9..f57c76e3 100644 --- a/commands/avatar-edit/hearts.js +++ b/commands/avatar-edit/hearts.js @@ -17,6 +17,12 @@ module.exports = class HeartsCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Jessica Knable', + url: 'https://picsart.com/jessicaknable' + } + ], args: [ { key: 'user', diff --git a/commands/avatar-edit/i-have-the-power.js b/commands/avatar-edit/i-have-the-power.js index 8edad584..e7320a99 100644 --- a/commands/avatar-edit/i-have-the-power.js +++ b/commands/avatar-edit/i-have-the-power.js @@ -16,6 +16,12 @@ module.exports = class IHaveThePowerCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Mattel', + url: 'https://www.mattel.com/en-us' + } + ], args: [ { key: 'user', diff --git a/commands/avatar-edit/look-at-this-photograph.js b/commands/avatar-edit/look-at-this-photograph.js index cf88d5d7..bcf79312 100644 --- a/commands/avatar-edit/look-at-this-photograph.js +++ b/commands/avatar-edit/look-at-this-photograph.js @@ -16,6 +16,12 @@ module.exports = class LookAtThisPhotographCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Nickelback - Photograph', + url: 'https://www.youtube.com/watch?v=BB0DU4DoPP4' + } + ], args: [ { key: 'user', diff --git a/commands/avatar-edit/look-what-karen-have.js b/commands/avatar-edit/look-what-karen-have.js index b7a361fe..f4b54488 100644 --- a/commands/avatar-edit/look-what-karen-have.js +++ b/commands/avatar-edit/look-what-karen-have.js @@ -16,6 +16,12 @@ module.exports = class LookWhatKarenHaveCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'KINMOZA!', + url: 'http://www.kinmosa.com/' + } + ], args: [ { key: 'user', diff --git a/commands/avatar-edit/rip.js b/commands/avatar-edit/rip.js index 3cd74eea..b554e352 100644 --- a/commands/avatar-edit/rip.js +++ b/commands/avatar-edit/rip.js @@ -17,6 +17,12 @@ module.exports = class RipCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'vician', + url: 'https://www.123rf.com/profile_vician' + } + ], args: [ { key: 'user', @@ -29,7 +35,7 @@ module.exports = class RipCommand extends Command { } async run(msg, { user }) { - const avatarURL = user.displayAvatarURL({ format: 'png', size: 256 }); + const avatarURL = user.displayAvatarURL({ format: 'png', size: 512 }); try { const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'rip.png')); const { body } = await request.get(avatarURL); @@ -37,8 +43,8 @@ module.exports = class RipCommand extends Command { const canvas = createCanvas(base.width, base.height); const ctx = canvas.getContext('2d'); ctx.drawImage(base, 0, 0); - ctx.drawImage(avatar, 59, 68, 200, 200); - greyscale(ctx, 59, 68, 200, 200); + ctx.drawImage(avatar, 194, 399, 500, 500); + greyscale(ctx, 194, 399, 500, 500); return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'rip.png' }] }); } catch (err) { return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`); diff --git a/commands/avatar-edit/sip.js b/commands/avatar-edit/sip.js index 6ca887b3..e96fac4d 100644 --- a/commands/avatar-edit/sip.js +++ b/commands/avatar-edit/sip.js @@ -16,6 +16,12 @@ module.exports = class SipCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'CoolClips.com', + url: 'http://search.coolclips.com/' + } + ], args: [ { key: 'user', diff --git a/commands/avatar-edit/steam-card.js b/commands/avatar-edit/steam-card.js index d555ac02..b1f47996 100644 --- a/commands/avatar-edit/steam-card.js +++ b/commands/avatar-edit/steam-card.js @@ -19,6 +19,20 @@ module.exports = class SteamCardCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Steam', + url: 'https://store.steampowered.com/' + }, + { + name: 'SinKillerJ Tachikawa', + url: 'https://www.deviantart.com/sinkillerj' + }, + { + name: 'Google Noto Fonts', + url: 'https://www.google.com/get/noto/' + } + ], args: [ { key: 'user', diff --git a/commands/avatar-edit/steam-now-playing.js b/commands/avatar-edit/steam-now-playing.js index 1e35d4b8..78cbdab1 100644 --- a/commands/avatar-edit/steam-now-playing.js +++ b/commands/avatar-edit/steam-now-playing.js @@ -20,6 +20,16 @@ module.exports = class SteamNowPlayingCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Steam', + url: 'https://store.steampowered.com/' + }, + { + name: 'Google Noto Fonts', + url: 'https://www.google.com/get/noto/' + } + ], args: [ { key: 'game', diff --git a/commands/avatar-edit/ultimate-tattoo.js b/commands/avatar-edit/ultimate-tattoo.js index 8890eaa8..9392e68b 100644 --- a/commands/avatar-edit/ultimate-tattoo.js +++ b/commands/avatar-edit/ultimate-tattoo.js @@ -16,6 +16,12 @@ module.exports = class UltimateTattooCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Deathbulge', + url: 'http://deathbulge.com/comics' + } + ], args: [ { key: 'user', diff --git a/commands/avatar-edit/wanted.js b/commands/avatar-edit/wanted.js index caf60b69..dbefcbf4 100644 --- a/commands/avatar-edit/wanted.js +++ b/commands/avatar-edit/wanted.js @@ -17,6 +17,12 @@ module.exports = class WantedCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Tim\'s Printables', + url: 'https://www.timvandevall.com/' + } + ], args: [ { key: 'user', diff --git a/commands/avatar-edit/worthless.js b/commands/avatar-edit/worthless.js index 2674daff..49ad4538 100644 --- a/commands/avatar-edit/worthless.js +++ b/commands/avatar-edit/worthless.js @@ -16,6 +16,12 @@ module.exports = class WorthlessCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Gravity Falls', + url: 'https://disneynow.go.com/shows/gravity-falls' + } + ], args: [ { key: 'user', diff --git a/commands/avatar-edit/yu-gi-oh-token.js b/commands/avatar-edit/yu-gi-oh-token.js index 7b09ac3f..b88f1bf6 100644 --- a/commands/avatar-edit/yu-gi-oh-token.js +++ b/commands/avatar-edit/yu-gi-oh-token.js @@ -16,6 +16,12 @@ module.exports = class YuGiOhTokenCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Yu-Gi-Oh! Trading Card Game', + url: 'https://www.yugioh-card.com/en/' + } + ], args: [ { key: 'user', diff --git a/commands/events/apod.js b/commands/events/apod.js index f4b03a82..c433feec 100644 --- a/commands/events/apod.js +++ b/commands/events/apod.js @@ -12,7 +12,13 @@ module.exports = class ApodCommand extends Command { group: 'events', memberName: 'apod', description: 'Responds with today\'s Astronomy Picture of the Day.', - clientPermissions: ['EMBED_LINKS'] + clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Astronomy Picture of the Day', + url: 'https://apod.nasa.gov/apod/astropix.html' + } + ] }); } diff --git a/commands/events/calendar.js b/commands/events/calendar.js index abdc6c4f..56645a40 100644 --- a/commands/events/calendar.js +++ b/commands/events/calendar.js @@ -10,7 +10,13 @@ module.exports = class CalendarCommand extends Command { aliases: ['holidays', 'events'], group: 'events', memberName: 'calendar', - description: 'Responds with today\'s holidays.' + description: 'Responds with today\'s holidays.', + credit: [ + { + name: 'Google Calendar API', + url: 'https://developers.google.com/calendar/' + } + ] }); } diff --git a/commands/events/doomsday-clock.js b/commands/events/doomsday-clock.js index 6047b5b6..c0a1288e 100644 --- a/commands/events/doomsday-clock.js +++ b/commands/events/doomsday-clock.js @@ -8,7 +8,13 @@ module.exports = class DoomsdayClockCommand extends Command { name: 'doomsday-clock', group: 'events', memberName: 'doomsday-clock', - description: 'Responds with the current time of the Doomsday Clock.' + description: 'Responds with the current time of the Doomsday Clock.', + credit: [ + { + name: 'Bulletin of the Atomic Scientists', + url: 'https://thebulletin.org/' + } + ] }); } diff --git a/commands/events/google-doodle.js b/commands/events/google-doodle.js index 500fe799..bf4a2d80 100644 --- a/commands/events/google-doodle.js +++ b/commands/events/google-doodle.js @@ -10,6 +10,12 @@ module.exports = class GoogleDoodleCommand extends Command { memberName: 'google-doodle', description: 'Responds with a Google Doodle, either the latest one or a random one from the past.', clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Google Doodles', + url: 'https://www.google.com/doodles' + } + ], args: [ { key: 'month', diff --git a/commands/events/horoscope.js b/commands/events/horoscope.js index 6d110bd9..ac697351 100644 --- a/commands/events/horoscope.js +++ b/commands/events/horoscope.js @@ -14,6 +14,12 @@ module.exports = class HoroscopeCommand extends Command { description: 'Responds with today\'s horoscope for a specific Zodiac sign.', details: `**Signs:** ${signs.join(', ')}`, clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'The Astrologer by Kelli Fox', + url: 'https://new.theastrologer.com/' + } + ], args: [ { key: 'sign', diff --git a/commands/events/humble-bundle.js b/commands/events/humble-bundle.js index 0fabd557..6e7fc5cc 100644 --- a/commands/events/humble-bundle.js +++ b/commands/events/humble-bundle.js @@ -9,7 +9,13 @@ module.exports = class HumbleBundleCommand extends Command { aliases: ['humble'], group: 'events', memberName: 'humble-bundle', - description: 'Responds with the current Humble Bundle.' + description: 'Responds with the current Humble Bundle.', + credit: [ + { + name: 'Humble Bundle', + url: 'https://www.humblebundle.com/' + } + ] }); } diff --git a/commands/events/neko-atsume-password.js b/commands/events/neko-atsume-password.js index 89d72302..a2afc79a 100644 --- a/commands/events/neko-atsume-password.js +++ b/commands/events/neko-atsume-password.js @@ -15,6 +15,12 @@ module.exports = class NekoAtsumePasswordCommand extends Command { group: 'events', memberName: 'neko-atsume-password', description: 'Responds with today\'s Neko Atsume password.', + credit: [ + { + name: 'Neko Atsume: Kitty Collector', + url: 'http://nekoatsume.com/en/' + } + ], args: [ { key: 'locale', diff --git a/commands/events/time.js b/commands/events/time.js index 989d6834..54d5252b 100644 --- a/commands/events/time.js +++ b/commands/events/time.js @@ -12,6 +12,16 @@ module.exports = class TimeCommand extends Command { memberName: 'time', description: 'Responds with the current time in a particular location.', details: '**Zones:** ', + credit: [ + { + name: 'List of tz database time zones', + url: 'https://en.wikipedia.org/wiki/List_of_tz_database_time_zones' + }, + { + name: 'Neopets', + url: 'http://www.neopets.com/' + } + ], args: [ { key: 'timeZone', diff --git a/commands/events/today-in-history.js b/commands/events/today-in-history.js index 7fb9b176..61a8e89d 100644 --- a/commands/events/today-in-history.js +++ b/commands/events/today-in-history.js @@ -11,6 +11,12 @@ module.exports = class TodayInHistoryCommand extends Command { memberName: 'today-in-history', description: 'Responds with an event that occurred today in history.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'muffinlabs - Today in History', + url: 'http://history.muffinlabs.com/' + } + ], args: [ { key: 'month', diff --git a/commands/events/word-of-the-day.js b/commands/events/word-of-the-day.js index 7f1ac78a..cc465d4c 100644 --- a/commands/events/word-of-the-day.js +++ b/commands/events/word-of-the-day.js @@ -10,7 +10,13 @@ module.exports = class WordOfTheDayCommand extends Command { aliases: ['wordnik-word-of-the-day'], group: 'events', memberName: 'word-of-the-day', - description: 'Responds with today\'s word of the day.' + description: 'Responds with today\'s word of the day.', + credit: [ + { + name: 'Wordnik API', + url: 'https://developer.wordnik.com/' + } + ] }); } diff --git a/commands/games/akinator.js b/commands/games/akinator.js index 35cb9d9f..e11f60ff 100644 --- a/commands/games/akinator.js +++ b/commands/games/akinator.js @@ -12,7 +12,13 @@ module.exports = class AkinatorCommand extends Command { group: 'games', memberName: 'akinator', description: 'Think about a real or fictional character, I will try to guess who it is.', - clientPermissions: ['EMBED_LINKS'] + clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Akinator', + url: 'https://en.akinator.com/' + } + ] }); this.sessions = new Map(); diff --git a/commands/games/balloon-pop.js b/commands/games/balloon-pop.js index 81e4367f..20384c21 100644 --- a/commands/games/balloon-pop.js +++ b/commands/games/balloon-pop.js @@ -8,6 +8,12 @@ module.exports = class BalloonPopCommand extends Command { group: 'games', memberName: 'balloon-pop', description: 'Don\'t let yourself be the last one to pump the balloon before it pops!', + credit: [ + { + name: 'PAC-MAN Party', + url: 'http://pacman.com/en/pac-man-games/pac-man-party' + } + ], args: [ { key: 'opponent', diff --git a/commands/games/box-choosing.js b/commands/games/box-choosing.js index 66847c16..31c20957 100644 --- a/commands/games/box-choosing.js +++ b/commands/games/box-choosing.js @@ -10,7 +10,21 @@ module.exports = class BoxChoosingCommand extends Command { aliases: ['box-choose'], group: 'games', memberName: 'box-choosing', - description: 'Do you believe that there are choices in life? Taken from Higurashi Chapter 4.' + description: 'Do you believe that there are choices in life? Taken from Higurashi Chapter 4.', + credit: [ + { + name: '07th Expansion', + url: 'http://07th-expansion.net/' + }, + { + name: 'MangaGamer.com', + url: 'https://www.mangagamer.com/' + }, + { + name: 'Higurashi When They Cry Hou - Ch.4 Himatsubushi', + url: 'https://store.steampowered.com/app/526490/' + } + ] }); this.playing = new Set(); diff --git a/commands/games/captcha.js b/commands/games/captcha.js index 52090edb..6cb54510 100644 --- a/commands/games/captcha.js +++ b/commands/games/captcha.js @@ -16,7 +16,13 @@ module.exports = class CaptchaCommand extends Command { usages: 1, duration: 10 }, - clientPermissions: ['ATTACH_FILES'] + clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Moms Typewriter Font', + url: 'https://www.fontsquirrel.com/fonts/MomsTypewriter' + } + ] }); } diff --git a/commands/games/google-feud.js b/commands/games/google-feud.js index d2018140..55bae711 100644 --- a/commands/games/google-feud.js +++ b/commands/games/google-feud.js @@ -10,6 +10,12 @@ module.exports = class GoogleFeudCommand extends Command { group: 'games', memberName: 'google-feud', description: 'Attempt to determine the top suggestions for a Google search.', + credit: [ + { + name: 'Google Feud', + url: 'http://www.googlefeud.com/' + } + ], args: [ { key: 'question', diff --git a/commands/games/hangman.js b/commands/games/hangman.js index a6003031..a334bc8c 100644 --- a/commands/games/hangman.js +++ b/commands/games/hangman.js @@ -8,7 +8,13 @@ module.exports = class HangmanCommand extends Command { name: 'hangman', group: 'games', memberName: 'hangman', - description: 'Prevent a man from being hanged by guessing a word as fast as you can.' + description: 'Prevent a man from being hanged by guessing a word as fast as you can.', + credit: [ + { + name: 'Moby Word Lists by Grady Ward', + url: 'http://www.gutenberg.org/ebooks/3201' + } + ] }); this.playing = new Set(); diff --git a/commands/games/hunger-games.js b/commands/games/hunger-games.js index 7db4a013..358ad7d4 100644 --- a/commands/games/hunger-games.js +++ b/commands/games/hunger-games.js @@ -11,6 +11,12 @@ module.exports = class HungerGamesCommand extends Command { group: 'games', memberName: 'hunger-games', description: 'Simulate a Hunger Games match with up to 24 tributes.', + credit: [ + { + name: 'BrantSteele Hunger Games Simulator', + url: 'http://brantsteele.net/hungergames/reaping.php' + } + ], args: [ { key: 'tributes', diff --git a/commands/games/quiz-duel.js b/commands/games/quiz-duel.js index de8d63ea..28549e79 100644 --- a/commands/games/quiz-duel.js +++ b/commands/games/quiz-duel.js @@ -12,6 +12,12 @@ module.exports = class QuizDuelCommand extends Command { group: 'games', memberName: 'quiz-duel', description: 'Answer a series of quiz questions against an opponent.', + credit: [ + { + name: 'Open Trivia DB', + url: 'https://opentdb.com/' + } + ], args: [ { key: 'opponent', diff --git a/commands/games/quiz.js b/commands/games/quiz.js index 0288834b..95c1a85e 100644 --- a/commands/games/quiz.js +++ b/commands/games/quiz.js @@ -18,6 +18,12 @@ module.exports = class QuizCommand extends Command { **Types:** ${types.join(', ')} **Difficulties:** ${difficulties.join(', ')} `, + credit: [ + { + name: 'Open Trivia DB', + url: 'https://opentdb.com/' + } + ], args: [ { key: 'type', diff --git a/commands/games/sorting-hat.js b/commands/games/sorting-hat.js index fadff0a9..01bb7715 100644 --- a/commands/games/sorting-hat.js +++ b/commands/games/sorting-hat.js @@ -11,7 +11,17 @@ module.exports = class SortingHatCommand extends Command { aliases: ['sorting-hat-quiz', 'hogwarts', 'hogwarts-house'], group: 'games', memberName: 'sorting-hat', - description: 'Take a quiz to determine your Hogwarts house.' + description: 'Take a quiz to determine your Hogwarts house.', + credit: [ + { + name: 'Pottermore', + url: 'https://my.pottermore.com/sorting' + }, + { + name: 'Pottermore Sorting Hat Quiz analysis by u/N1ffler', + url: 'https://www.reddit.com/r/Pottermore/comments/44os14/pottermore_sorting_hat_quiz_analysis/' + } + ] }); this.playing = new Set(); diff --git a/commands/games/whos-that-pokemon.js b/commands/games/whos-that-pokemon.js index 5c4f9d88..c739923a 100644 --- a/commands/games/whos-that-pokemon.js +++ b/commands/games/whos-that-pokemon.js @@ -16,6 +16,20 @@ module.exports = class WhosThatPokemonCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Pokémon', + url: 'https://www.pokemon.com/us/' + }, + { + name: 'PokéAPI', + url: 'https://pokeapi.co/' + }, + { + name: 'Serebii.net', + url: 'https://www.serebii.net/index2.shtml' + } + ], args: [ { key: 'hide', diff --git a/commands/games/word-chain.js b/commands/games/word-chain.js index 10082149..a9f50ebe 100644 --- a/commands/games/word-chain.js +++ b/commands/games/word-chain.js @@ -13,6 +13,12 @@ module.exports = class WordChainCommand extends Command { memberName: 'word-chain', description: 'Try to come up with words that start with the last letter of your opponent\'s word.', guildOnly: true, + credit: [ + { + name: 'Moby Word Lists by Grady Ward', + url: 'http://www.gutenberg.org/ebooks/3201' + } + ], args: [ { key: 'opponent', diff --git a/commands/image-edit/achievement.js b/commands/image-edit/achievement.js index b0d650e7..c9fb3ded 100644 --- a/commands/image-edit/achievement.js +++ b/commands/image-edit/achievement.js @@ -17,6 +17,20 @@ module.exports = class AchievementCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Minecraft', + url: 'https://www.minecraft.net/en-us/' + }, + { + name: 'Minecraft Achievement Generator', + url: 'https://www.minecraftskinstealer.com/achievement/' + }, + { + name: 'Minecraftia Font', + url: 'https://www.dafont.com/minecraftia.font' + } + ], args: [ { key: 'text', diff --git a/commands/image-edit/approved.js b/commands/image-edit/approved.js index db5de221..040720f1 100644 --- a/commands/image-edit/approved.js +++ b/commands/image-edit/approved.js @@ -16,6 +16,12 @@ module.exports = class ApprovedCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Redeeming God', + url: 'https://redeeminggod.com/' + } + ], args: [ { key: 'image', diff --git a/commands/image-edit/be-like-bill.js b/commands/image-edit/be-like-bill.js index cce0b528..c2a3e7ab 100644 --- a/commands/image-edit/be-like-bill.js +++ b/commands/image-edit/be-like-bill.js @@ -21,6 +21,12 @@ module.exports = class BeLikeBillCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Google Noto Fonts', + url: 'https://www.google.com/get/noto/' + } + ], args: [ { key: 'name', diff --git a/commands/image-edit/brazzers.js b/commands/image-edit/brazzers.js index 06f7b73c..3b4c5be3 100644 --- a/commands/image-edit/brazzers.js +++ b/commands/image-edit/brazzers.js @@ -15,6 +15,12 @@ module.exports = class BrazzersCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Brazzers', + url: 'https://www.brazzers.com/' + } + ], args: [ { key: 'image', diff --git a/commands/image-edit/create-qr-code.js b/commands/image-edit/create-qr-code.js index 9bd85224..5a319390 100644 --- a/commands/image-edit/create-qr-code.js +++ b/commands/image-edit/create-qr-code.js @@ -9,6 +9,12 @@ module.exports = class CreateQRCodeCommand extends Command { group: 'image-edit', memberName: 'create-qr-code', description: 'Converts text to a QR Code.', + credit: [ + { + name: 'QR Code Generator\'s QR code API', + url: 'http://goqr.me/api/' + } + ], args: [ { key: 'text', diff --git a/commands/image-edit/demotivational.js b/commands/image-edit/demotivational.js index d96dc6d2..18c78236 100644 --- a/commands/image-edit/demotivational.js +++ b/commands/image-edit/demotivational.js @@ -20,6 +20,12 @@ module.exports = class DemotivationalCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Google Noto Fonts', + url: 'https://www.google.com/get/noto/' + } + ], args: [ { key: 'title', diff --git a/commands/image-edit/fire.js b/commands/image-edit/fire.js index f3b48e0c..e1082dad 100644 --- a/commands/image-edit/fire.js +++ b/commands/image-edit/fire.js @@ -17,6 +17,12 @@ module.exports = class FireCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'susi1959 - PicMix', + url: 'https://en.picmix.com/profile/susi1959' + } + ], args: [ { key: 'image', diff --git a/commands/image-edit/frame.js b/commands/image-edit/frame.js index 54993c8d..7f96124e 100644 --- a/commands/image-edit/frame.js +++ b/commands/image-edit/frame.js @@ -16,6 +16,12 @@ module.exports = class FrameCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'PNG Arts', + url: 'https://www.pngarts.com/' + } + ], args: [ { key: 'image', diff --git a/commands/image-edit/gru-plan.js b/commands/image-edit/gru-plan.js index dd7f9d79..313ceab1 100644 --- a/commands/image-edit/gru-plan.js +++ b/commands/image-edit/gru-plan.js @@ -20,6 +20,16 @@ module.exports = class GruPlanCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Despicable Me', + url: 'http://www.despicable.me/' + }, + { + name: 'Google Noto Fonts', + url: 'https://www.google.com/get/noto/' + } + ], args: [ { key: 'step1', diff --git a/commands/image-edit/ifunny.js b/commands/image-edit/ifunny.js index 0c0bf800..a8446ba7 100644 --- a/commands/image-edit/ifunny.js +++ b/commands/image-edit/ifunny.js @@ -15,6 +15,12 @@ module.exports = class IfunnyCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'iFunny', + url: 'https://ifunny.co/' + } + ], args: [ { key: 'image', diff --git a/commands/image-edit/illegal.js b/commands/image-edit/illegal.js index 7295f7db..1c88055f 100644 --- a/commands/image-edit/illegal.js +++ b/commands/image-edit/illegal.js @@ -19,6 +19,16 @@ module.exports = class IllegalCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Donald J. Trump', + url: 'https://www.donaldjtrump.com/' + }, + { + name: 'Google Noto Fonts', + url: 'https://www.google.com/get/noto/' + } + ], args: [ { key: 'text', diff --git a/commands/image-edit/kyon-gun.js b/commands/image-edit/kyon-gun.js index 3225f959..c12354bf 100644 --- a/commands/image-edit/kyon-gun.js +++ b/commands/image-edit/kyon-gun.js @@ -16,6 +16,12 @@ module.exports = class KyonGunCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'The Melancholy of Haruhi Suzumiya', + url: 'http://www.haruhi.tv/' + } + ], args: [ { key: 'image', diff --git a/commands/image-edit/lisa-presentation.js b/commands/image-edit/lisa-presentation.js index bc8bb5ad..0eed98ba 100644 --- a/commands/image-edit/lisa-presentation.js +++ b/commands/image-edit/lisa-presentation.js @@ -19,6 +19,16 @@ module.exports = class LisaPresentationCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'The Simpsons', + url: 'http://www.simpsonsworld.com/' + }, + { + name: 'Google Noto Fonts', + url: 'https://www.google.com/get/noto/' + } + ], args: [ { key: 'text', diff --git a/commands/image-edit/meme-gen.js b/commands/image-edit/meme-gen.js index 2e23d2d7..ef2ac8d7 100644 --- a/commands/image-edit/meme-gen.js +++ b/commands/image-edit/meme-gen.js @@ -18,6 +18,12 @@ module.exports = class MemeGenCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Impact Font', + url: 'https://www.wfonts.com/font/impact' + } + ], args: [ { key: 'top', diff --git a/commands/image-edit/minecraft-skin.js b/commands/image-edit/minecraft-skin.js index 1a51c52b..d14dc008 100644 --- a/commands/image-edit/minecraft-skin.js +++ b/commands/image-edit/minecraft-skin.js @@ -12,6 +12,16 @@ module.exports = class MinecraftSkinCommand extends Command { description: 'Sends the Minecraft skin for a user.', details: `**Types:** ${types.join(', ')}`, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Minecraft', + url: 'https://www.minecraft.net/en-us/' + }, + { + name: 'Mojang API', + url: 'https://wiki.vg/Mojang_API' + } + ], args: [ { key: 'user', diff --git a/commands/image-edit/new-password.js b/commands/image-edit/new-password.js index 6a021fdc..d269621f 100644 --- a/commands/image-edit/new-password.js +++ b/commands/image-edit/new-password.js @@ -19,6 +19,12 @@ module.exports = class NewPasswordCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Google Noto Fonts', + url: 'https://www.google.com/get/noto/' + } + ], args: [ { key: 'weak', diff --git a/commands/image-edit/nike-ad.js b/commands/image-edit/nike-ad.js index 670c3718..ddf1b744 100644 --- a/commands/image-edit/nike-ad.js +++ b/commands/image-edit/nike-ad.js @@ -20,6 +20,16 @@ module.exports = class NikeAdCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Nike', + url: 'https://www.nike.com/' + }, + { + name: 'Google Noto Fonts', + url: 'https://www.google.com/get/noto/' + } + ], args: [ { key: 'something', diff --git a/commands/image-edit/osu-signature.js b/commands/image-edit/osu-signature.js index 5c5c787d..a879fee6 100644 --- a/commands/image-edit/osu-signature.js +++ b/commands/image-edit/osu-signature.js @@ -13,6 +13,16 @@ module.exports = class OsuSignatureCommand extends Command { description: 'Creates a card based on an osu! user\'s stats.', details: `**Colors:** ${Object.keys(colors).join(', ')}`, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'osu!', + url: 'https://osu.ppy.sh/home' + }, + { + name: 'osu!next Signature Generator', + url: 'https://lemmmy.pw/osusig/' + } + ], args: [ { key: 'user', diff --git a/commands/image-edit/pokemon-fusion.js b/commands/image-edit/pokemon-fusion.js index dc516060..6e427561 100644 --- a/commands/image-edit/pokemon-fusion.js +++ b/commands/image-edit/pokemon-fusion.js @@ -12,6 +12,16 @@ module.exports = class PokemonFusionCommand extends Command { memberName: 'pokemon-fusion', description: 'Fuses two Generation I Pokémon together.', clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Pokémon', + url: 'https://www.pokemon.com/us/' + }, + { + name: 'Pokemon Fusion', + url: 'https://pokemon.alexonsager.net/' + } + ], args: [ { key: 'body', diff --git a/commands/image-edit/rejected.js b/commands/image-edit/rejected.js index 401a1fbf..164d9345 100644 --- a/commands/image-edit/rejected.js +++ b/commands/image-edit/rejected.js @@ -16,6 +16,12 @@ module.exports = class RejctedCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'People PNG', + url: 'https://peoplepng.com/' + } + ], args: [ { key: 'image', diff --git a/commands/image-edit/robohash.js b/commands/image-edit/robohash.js index 4f91eb10..0db336f8 100644 --- a/commands/image-edit/robohash.js +++ b/commands/image-edit/robohash.js @@ -9,6 +9,12 @@ module.exports = class RobohashCommand extends Command { memberName: 'robohash', description: 'Creates a robot based on the text you provide.', clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'RoboHash', + url: 'https://robohash.org/' + } + ], args: [ { key: 'text', diff --git a/commands/image-edit/shields-io-badge.js b/commands/image-edit/shields-io-badge.js index fee6f171..6ab94a5f 100644 --- a/commands/image-edit/shields-io-badge.js +++ b/commands/image-edit/shields-io-badge.js @@ -10,6 +10,12 @@ module.exports = class ShieldsIoBadgeCommand extends Command { memberName: 'shields-io-badge', description: 'Creates a badge from shields.io.', clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Shields.io', + url: 'https://shields.io/' + } + ], args: [ { key: 'subject', diff --git a/commands/image-edit/sora-selfie.js b/commands/image-edit/sora-selfie.js index eb342b94..7e3da89c 100644 --- a/commands/image-edit/sora-selfie.js +++ b/commands/image-edit/sora-selfie.js @@ -15,6 +15,12 @@ module.exports = class SoraSelfieCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Kingdom Hearts', + url: 'https://www.kingdomhearts.com/home/us/' + } + ], args: [ { key: 'image', diff --git a/commands/image-edit/thug-life.js b/commands/image-edit/thug-life.js index 5d9587ac..f5a16114 100644 --- a/commands/image-edit/thug-life.js +++ b/commands/image-edit/thug-life.js @@ -16,6 +16,12 @@ module.exports = class ThugLifeCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'pngimg.com', + url: 'https://pngimg.com/' + } + ], args: [ { key: 'image', diff --git a/commands/image-edit/to-be-continued.js b/commands/image-edit/to-be-continued.js index 09224d71..8c33330b 100644 --- a/commands/image-edit/to-be-continued.js +++ b/commands/image-edit/to-be-continued.js @@ -16,6 +16,12 @@ module.exports = class ToBeContinuedCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'JoJo\'s Bizzare Adventure', + url: 'http://www.araki-jojo.com/' + } + ], args: [ { key: 'image', diff --git a/commands/image-edit/vietnam-flashbacks.js b/commands/image-edit/vietnam-flashbacks.js index df329639..b19b18e1 100644 --- a/commands/image-edit/vietnam-flashbacks.js +++ b/commands/image-edit/vietnam-flashbacks.js @@ -16,6 +16,12 @@ module.exports = class VietnamFlashbacksCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Horst Faas', + url: 'https://en.wikipedia.org/wiki/Horst_Faas' + } + ], args: [ { key: 'image', diff --git a/commands/number-edit/currency.js b/commands/number-edit/currency.js index e164796b..6fcc5dd5 100644 --- a/commands/number-edit/currency.js +++ b/commands/number-edit/currency.js @@ -9,6 +9,12 @@ module.exports = class CurrencyCommand extends Command { group: 'number-edit', memberName: 'currency', description: 'Converts currency from one currency to another.', + credit: [ + { + name: 'Foreign exchange rates API', + url: 'https://exchangeratesapi.io/' + } + ], args: [ { key: 'amount', diff --git a/commands/number-edit/final-grade.js b/commands/number-edit/final-grade.js index 487cea5a..86902732 100644 --- a/commands/number-edit/final-grade.js +++ b/commands/number-edit/final-grade.js @@ -9,6 +9,12 @@ module.exports = class FinalGradeCommand extends Command { group: 'number-edit', memberName: 'final-grade', description: 'Determines the grade you need to make on your final to get your desired course grade.', + credit: [ + { + name: 'RogerHub Final Grade Calculator', + url: 'https://rogerhub.com/final-grade-calculator/' + } + ], args: [ { key: 'current', diff --git a/commands/number-edit/gravity.js b/commands/number-edit/gravity.js index 5e8058a6..e503bd83 100644 --- a/commands/number-edit/gravity.js +++ b/commands/number-edit/gravity.js @@ -10,6 +10,12 @@ module.exports = class GravityCommand extends Command { memberName: 'gravity', description: 'Determines weight on another planet.', details: `**Planets:** ${Object.keys(planets).join(', ')}`, + credit: [ + { + name: 'Planetary Fact Sheet - Ratio to Earth Values', + url: 'https://nssdc.gsfc.nasa.gov/planetary/factsheet/planet_table_ratio.html' + } + ], args: [ { key: 'weight', diff --git a/commands/other/cleverbot.js b/commands/other/cleverbot.js index bfe32733..1ddf144f 100644 --- a/commands/other/cleverbot.js +++ b/commands/other/cleverbot.js @@ -11,6 +11,12 @@ module.exports = class CleverbotCommand extends Command { group: 'other', memberName: 'cleverbot', description: 'Talk to Cleverbot.', + credit: [ + { + name: 'Cleverbot API', + url: 'https://www.cleverbot.com/api/' + } + ], args: [ { key: 'text', diff --git a/commands/other/strawpoll.js b/commands/other/strawpoll.js index fd3a9115..b2e98fba 100644 --- a/commands/other/strawpoll.js +++ b/commands/other/strawpoll.js @@ -10,6 +10,12 @@ module.exports = class StrawpollCommand extends Command { group: 'other', memberName: 'strawpoll', description: 'Generates a Strawpoll with the options you provide.', + credit: [ + { + name: 'Straw Poll API', + url: 'https://github.com/strawpoll/strawpoll/wiki/API' + } + ], args: [ { key: 'title', diff --git a/commands/random/advice.js b/commands/random/advice.js index a78d5743..e0e78013 100644 --- a/commands/random/advice.js +++ b/commands/random/advice.js @@ -8,7 +8,13 @@ module.exports = class AdviceCommand extends Command { aliases: ['advice-slip'], group: 'random', memberName: 'advice', - description: 'Responds with a random bit of advice.' + description: 'Responds with a random bit of advice.', + credit: [ + { + name: 'Advice Slip', + url: 'https://adviceslip.com/' + } + ] }); } diff --git a/commands/random/bird.js b/commands/random/bird.js index 876485ea..4d0b9f73 100644 --- a/commands/random/bird.js +++ b/commands/random/bird.js @@ -9,7 +9,13 @@ module.exports = class BirdCommand extends Command { group: 'random', memberName: 'bird', description: 'Responds with a random image of a bird.', - clientPermissions: ['ATTACH_FILES'] + clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'shibe.online', + url: 'https://shibe.online/' + } + ] }); } diff --git a/commands/random/cat.js b/commands/random/cat.js index 770ac0bd..05636fb6 100644 --- a/commands/random/cat.js +++ b/commands/random/cat.js @@ -9,7 +9,13 @@ module.exports = class CatCommand extends Command { group: 'random', memberName: 'cat', description: 'Responds with a random cat image.', - clientPermissions: ['ATTACH_FILES'] + clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'random.cat', + url: 'https://random.cat/' + } + ] }); } diff --git a/commands/random/chuck-norris.js b/commands/random/chuck-norris.js index 52622c67..f794bfe1 100644 --- a/commands/random/chuck-norris.js +++ b/commands/random/chuck-norris.js @@ -9,6 +9,12 @@ module.exports = class ChuckNorrisCommand extends Command { group: 'random', memberName: 'chuck-norris', description: 'Responds with a random Chuck Norris joke.', + credit: [ + { + name: 'The Internet Chuck Norris Database API', + url: 'http://www.icndb.com/api/' + } + ], args: [ { key: 'name', diff --git a/commands/random/dog.js b/commands/random/dog.js index 15846876..d9528c9d 100644 --- a/commands/random/dog.js +++ b/commands/random/dog.js @@ -9,7 +9,13 @@ module.exports = class DogCommand extends Command { group: 'random', memberName: 'dog', description: 'Responds with a random dog image.', - clientPermissions: ['ATTACH_FILES'] + clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Dog API', + url: 'https://dog.ceo/dog-api/' + } + ] }); } diff --git a/commands/random/duck.js b/commands/random/duck.js index 3f2c60ee..23d33cbc 100644 --- a/commands/random/duck.js +++ b/commands/random/duck.js @@ -9,7 +9,13 @@ module.exports = class DuckCommand extends Command { group: 'random', memberName: 'duck', description: 'Responds with a random duck image.', - clientPermissions: ['ATTACH_FILES'] + clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Random-d.uk', + url: 'https://random-d.uk/' + } + ] }); } diff --git a/commands/random/fact-core.js b/commands/random/fact-core.js index c2726c25..ff75c101 100644 --- a/commands/random/fact-core.js +++ b/commands/random/fact-core.js @@ -7,7 +7,13 @@ module.exports = class FactCoreCommand extends Command { name: 'fact-core', group: 'random', memberName: 'fact-core', - description: 'Responds with a random Fact Core quote.' + description: 'Responds with a random Fact Core quote.', + credit: [ + { + name: 'Portal 2', + url: 'http://www.thinkwithportals.com/' + } + ] }); } diff --git a/commands/random/fact.js b/commands/random/fact.js index 4bc28acc..cffafa1b 100644 --- a/commands/random/fact.js +++ b/commands/random/fact.js @@ -7,7 +7,13 @@ module.exports = class FactCommand extends Command { name: 'fact', group: 'random', memberName: 'fact', - description: 'Responds with a random fact.' + description: 'Responds with a random fact.', + credit: [ + { + name: 'Wikipedia', + url: 'https://www.wikipedia.org/' + } + ] }); } diff --git a/commands/random/fidget.js b/commands/random/fidget.js index 9de3497c..cd5c1a62 100644 --- a/commands/random/fidget.js +++ b/commands/random/fidget.js @@ -10,7 +10,13 @@ module.exports = class FidgetCommand extends ImgurAlbumCommand { memberName: 'fidget', description: 'Responds with a random image of Fidget.', clientPermissions: ['ATTACH_FILES'], - albumID: FIDGET_ALBUM_ID + albumID: FIDGET_ALBUM_ID, + credit: [ + { + name: 'Dust: An Elysian Tail', + url: 'https://www.noogy.com/main.html' + } + ] }); } diff --git a/commands/random/fox.js b/commands/random/fox.js index 3bd0508f..76181731 100644 --- a/commands/random/fox.js +++ b/commands/random/fox.js @@ -8,7 +8,13 @@ module.exports = class FoxCommand extends Command { group: 'random', memberName: 'fox', description: 'Responds with a random fox image.', - clientPermissions: ['ATTACH_FILES'] + clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'RandomFox', + url: 'https://randomfox.ca/' + } + ] }); } diff --git a/commands/random/github-zen.js b/commands/random/github-zen.js index 124e3783..b169e00f 100644 --- a/commands/random/github-zen.js +++ b/commands/random/github-zen.js @@ -8,7 +8,13 @@ module.exports = class GithubZenCommand extends Command { aliases: ['gh-zen'], group: 'random', memberName: 'github-zen', - description: 'Responds with a random GitHub design philosophy.' + description: 'Responds with a random GitHub design philosophy.', + credit: [ + { + name: 'GitHub Zen API', + url: 'https://api.github.com/zen' + } + ] }); } diff --git a/commands/random/karen.js b/commands/random/karen.js index 9f7508b2..a27c8cc7 100644 --- a/commands/random/karen.js +++ b/commands/random/karen.js @@ -10,7 +10,13 @@ module.exports = class KarenCommand extends ImgurAlbumCommand { memberName: 'karen', description: 'Responds with a random image of Karen.', clientPermissions: ['ATTACH_FILES'], - albumID: KAREN_ALBUM_ID + albumID: KAREN_ALBUM_ID, + credit: [ + { + name: 'KINMOZA!', + url: 'http://www.kinmosa.com/' + } + ] }); } diff --git a/commands/random/magic-conch.js b/commands/random/magic-conch.js index e87cb7fc..b60ae54b 100644 --- a/commands/random/magic-conch.js +++ b/commands/random/magic-conch.js @@ -10,6 +10,12 @@ module.exports = class MagicConchCommand extends Command { group: 'random', memberName: 'magic-conch', description: 'Asks your question to the Magic Conch.', + credit: [ + { + name: 'SpongeBob SquarePants', + url: 'https://www.nick.com/shows/spongebob-squarepants' + } + ], args: [ { key: 'question', diff --git a/commands/random/number-fact.js b/commands/random/number-fact.js index ed9ade32..cecd157d 100644 --- a/commands/random/number-fact.js +++ b/commands/random/number-fact.js @@ -8,6 +8,12 @@ module.exports = class NumberFactCommand extends Command { group: 'random', memberName: 'number-fact', description: 'Responds with a random fact about a specific number.', + credit: [ + { + name: 'Numbers API', + url: 'http://numbersapi.com/' + } + ], args: [ { key: 'number', diff --git a/commands/random/oracle-turret.js b/commands/random/oracle-turret.js index 7fb81830..a6862edb 100644 --- a/commands/random/oracle-turret.js +++ b/commands/random/oracle-turret.js @@ -7,7 +7,13 @@ module.exports = class OracleTurretCommand extends Command { name: 'oracle-turret', group: 'random', memberName: 'oracle-turret', - description: 'Responds with a random Oracle Turret quote.' + description: 'Responds with a random Oracle Turret quote.', + credit: [ + { + name: 'Portal 2', + url: 'http://www.thinkwithportals.com/' + } + ] }); } diff --git a/commands/random/shiba.js b/commands/random/shiba.js index 184d2866..1ad2f111 100644 --- a/commands/random/shiba.js +++ b/commands/random/shiba.js @@ -9,7 +9,13 @@ module.exports = class ShibaCommand extends Command { group: 'random', memberName: 'shiba', description: 'Responds with a random image of a Shiba Inu.', - clientPermissions: ['ATTACH_FILES'] + clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'shibe.online', + url: 'https://shibe.online/' + } + ] }); } diff --git a/commands/random/shower-thought.js b/commands/random/shower-thought.js index 014b1d00..9406dbd7 100644 --- a/commands/random/shower-thought.js +++ b/commands/random/shower-thought.js @@ -8,7 +8,13 @@ module.exports = class ShowerThoughtCommand extends SubredditCommand { group: 'random', memberName: 'shower-thought', description: 'Responds with a random shower thought, directly from r/Showerthoughts.', - subreddit: 'Showerthoughts' + subreddit: 'Showerthoughts', + credit: [ + { + name: 'r/Showerthoughts', + url: 'https://www.reddit.com/r/showerthoughts' + } + ] }); } diff --git a/commands/random/superpower.js b/commands/random/superpower.js index 3fbe9276..2b71c419 100644 --- a/commands/random/superpower.js +++ b/commands/random/superpower.js @@ -9,7 +9,13 @@ module.exports = class SuperpowerCommand extends Command { name: 'superpower', group: 'random', memberName: 'superpower', - description: 'Responds with a random superpower.' + description: 'Responds with a random superpower.', + credit: [ + { + name: 'Superpower Wiki', + url: 'https://powerlisting.fandom.com/wiki/Superpower_Wiki' + } + ] }); } diff --git a/commands/random/this-for-that.js b/commands/random/this-for-that.js index fb443de0..6cf2800e 100644 --- a/commands/random/this-for-that.js +++ b/commands/random/this-for-that.js @@ -8,7 +8,13 @@ module.exports = class ThisForThatCommand extends Command { aliases: ['its-this-for-that'], group: 'random', memberName: 'this-for-that', - description: 'So, basically, it\'s like a bot command for this dumb meme.' + description: 'So, basically, it\'s like a bot command for this dumb meme.', + credit: [ + { + name: 'Wait, what does your startup do?', + url: 'http://itsthisforthat.com/' + } + ] }); } diff --git a/commands/random/xiao.js b/commands/random/xiao.js index d022a36d..754acbea 100644 --- a/commands/random/xiao.js +++ b/commands/random/xiao.js @@ -10,7 +10,13 @@ module.exports = class XiaoCommand extends ImgurAlbumCommand { memberName: 'xiao', description: 'Responds with a random image of Xiao Pai.', clientPermissions: ['ATTACH_FILES'], - albumID: XIAO_ALBUM_ID + albumID: XIAO_ALBUM_ID, + credit: [ + { + name: 'Rune Factory 4', + url: 'http://www.runefactory4.com/index1.html' + } + ] }); } diff --git a/commands/search/anime.js b/commands/search/anime.js index 01742932..88d5a6d4 100644 --- a/commands/search/anime.js +++ b/commands/search/anime.js @@ -62,6 +62,12 @@ module.exports = class AnimeCommand extends Command { memberName: 'anime', description: 'Searches AniList for your query, getting anime results.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'AniList API', + url: 'https://anilist.gitbook.io/anilist-apiv2-docs/' + } + ], args: [ { key: 'query', diff --git a/commands/search/azur-lane.js b/commands/search/azur-lane.js index 3c724b3b..98d599f9 100644 --- a/commands/search/azur-lane.js +++ b/commands/search/azur-lane.js @@ -13,6 +13,16 @@ module.exports = class AzurLaneCommand extends Command { memberName: 'azur-lane', description: 'Responds with information on an Azur Lane ship.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Azur Lane', + url: 'https://azurlane.yo-star.com/#/' + }, + { + name: 'Unofficial Azur Lane API', + url: 'https://al-shipgirls.pw/' + } + ], args: [ { key: 'query', diff --git a/commands/search/book.js b/commands/search/book.js index 09ff4761..3bc49e1e 100644 --- a/commands/search/book.js +++ b/commands/search/book.js @@ -13,6 +13,12 @@ module.exports = class BookCommand extends Command { memberName: 'book', description: 'Searches Google Books for a book.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Google Books API', + url: 'https://developers.google.com/books/' + } + ], args: [ { key: 'query', diff --git a/commands/search/bulbapedia.js b/commands/search/bulbapedia.js index 823a9d63..423bf8d3 100644 --- a/commands/search/bulbapedia.js +++ b/commands/search/bulbapedia.js @@ -11,6 +11,12 @@ module.exports = class BulbapediaCommand extends Command { memberName: 'bulbapedia', description: 'Searches Bulbapedia for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Bulbapedia', + url: 'https://bulbapedia.bulbagarden.net/wiki/Main_Page' + } + ], args: [ { key: 'query', diff --git a/commands/search/character.js b/commands/search/character.js index 0c1e1afd..9271f64b 100644 --- a/commands/search/character.js +++ b/commands/search/character.js @@ -53,6 +53,12 @@ module.exports = class CharacterCommand extends Command { memberName: 'character', description: 'Searches AniList for your query, getting character results.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'AniList API', + url: 'https://anilist.gitbook.io/anilist-apiv2-docs/' + } + ], args: [ { key: 'query', diff --git a/commands/search/danbooru.js b/commands/search/danbooru.js index 1a181f67..685bf8a9 100644 --- a/commands/search/danbooru.js +++ b/commands/search/danbooru.js @@ -9,6 +9,12 @@ module.exports = class DanbooruCommand extends Command { memberName: 'danbooru', description: 'Responds with an image from Danbooru, with optional query.', nsfw: true, + credit: [ + { + name: 'Danbooru', + url: 'https://danbooru.donmai.us/' + } + ], args: [ { key: 'query', diff --git a/commands/search/define.js b/commands/search/define.js index 3b2051b2..300fed25 100644 --- a/commands/search/define.js +++ b/commands/search/define.js @@ -11,6 +11,12 @@ module.exports = class DefineCommand extends Command { group: 'search', memberName: 'define', description: 'Defines a word.', + credit: [ + { + name: 'Wordnik API', + url: 'https://developer.wordnik.com/' + } + ], args: [ { key: 'word', diff --git a/commands/search/derpibooru.js b/commands/search/derpibooru.js index 4663ac74..76ab78b5 100644 --- a/commands/search/derpibooru.js +++ b/commands/search/derpibooru.js @@ -8,6 +8,12 @@ module.exports = class DerpibooruCommand extends Command { group: 'search', memberName: 'derpibooru', description: 'Responds with an image from Derpibooru.', + credit: [ + { + name: 'Derpibooru', + url: 'https://derpibooru.org/' + } + ], args: [ { key: 'query', diff --git a/commands/search/deviantart.js b/commands/search/deviantart.js index 61950699..1bc535ed 100644 --- a/commands/search/deviantart.js +++ b/commands/search/deviantart.js @@ -12,6 +12,12 @@ module.exports = class DeviantartCommand extends Command { memberName: 'deviantart', description: 'Responds with an image from a DeviantArt section, with optional query.', details: `**Sections:** ${sections.join(', ')}`, + credit: [ + { + name: 'DeviantArt API', + url: 'https://www.deviantart.com/developers/' + } + ], args: [ { key: 'section', diff --git a/commands/search/docs.js b/commands/search/docs.js index 0d2a6888..13532118 100644 --- a/commands/search/docs.js +++ b/commands/search/docs.js @@ -11,6 +11,16 @@ module.exports = class DocsCommand extends Command { memberName: 'docs', description: 'Searches the Discord.js docs for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'discord.js', + url: 'https://discord.js.org/#/' + }, + { + name: 'TeeSeal/discord.js-docs-api', + url: 'https://github.com/TeeSeal/discord.js-docs-api' + } + ], args: [ { key: 'query', diff --git a/commands/search/eshop.js b/commands/search/eshop.js index 04c0a6ef..bcc16a1c 100644 --- a/commands/search/eshop.js +++ b/commands/search/eshop.js @@ -14,6 +14,12 @@ module.exports = class EshopCommand extends Command { memberName: 'eshop', description: 'Searches the Nintendo eShop for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Nintendo', + url: 'https://www.nintendo.com/' + } + ], args: [ { key: 'system', diff --git a/commands/search/esrb.js b/commands/search/esrb.js index ac37dfde..8689da87 100644 --- a/commands/search/esrb.js +++ b/commands/search/esrb.js @@ -19,6 +19,12 @@ module.exports = class ESRBCommand extends Command { memberName: 'esrb', description: 'Searches ESRB for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'ESRB Ratings', + url: 'http://www.esrb.org/' + } + ], args: [ { key: 'query', diff --git a/commands/search/flickr.js b/commands/search/flickr.js index 5edc5274..e4aa8508 100644 --- a/commands/search/flickr.js +++ b/commands/search/flickr.js @@ -10,6 +10,12 @@ module.exports = class FlickrCommand extends Command { memberName: 'flickr', description: 'Searches Flickr for your query.', nsfw: true, + credit: [ + { + name: 'Flickr API', + url: 'https://www.flickr.com/services/api/' + } + ], args: [ { key: 'query', diff --git a/commands/search/giphy.js b/commands/search/giphy.js index 6f934a91..c5b761b2 100644 --- a/commands/search/giphy.js +++ b/commands/search/giphy.js @@ -10,6 +10,12 @@ module.exports = class GiphyCommand extends Command { group: 'search', memberName: 'giphy', description: 'Searches Giphy for your query.', + credit: [ + { + name: 'GIPHY API', + url: 'https://developers.giphy.com/' + } + ], args: [ { key: 'query', diff --git a/commands/search/github.js b/commands/search/github.js index d01f5cb6..2ae36cfe 100644 --- a/commands/search/github.js +++ b/commands/search/github.js @@ -14,6 +14,12 @@ module.exports = class GithubCommand extends Command { memberName: 'github', description: 'Responds with information on a GitHub repository.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'GitHub API', + url: 'https://developer.github.com/v3/' + } + ], args: [ { key: 'author', diff --git a/commands/search/google.js b/commands/search/google.js index c6710fc4..71226c27 100644 --- a/commands/search/google.js +++ b/commands/search/google.js @@ -12,6 +12,20 @@ module.exports = class GoogleCommand extends Command { group: 'search', memberName: 'google', description: 'Searches Google for your query.', + credit: [ + { + name: 'Google', + url: 'https://www.google.com/' + }, + { + name: 'Google Custom Search API', + url: 'https://cse.google.com/cse/all' + }, + { + name: 'LMGTFY', + url: 'https://lmgtfy.com/' + } + ], args: [ { key: 'query', diff --git a/commands/search/gravatar.js b/commands/search/gravatar.js index b15b8920..400174e6 100644 --- a/commands/search/gravatar.js +++ b/commands/search/gravatar.js @@ -10,6 +10,12 @@ module.exports = class GravatarCommand extends Command { memberName: 'gravatar', description: 'Responds with the Gravatar for an email.', clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Gravatar', + url: 'https://en.gravatar.com/' + } + ], args: [ { key: 'email', diff --git a/commands/search/http-cat.js b/commands/search/http-cat.js index 25129550..41025cc2 100644 --- a/commands/search/http-cat.js +++ b/commands/search/http-cat.js @@ -9,6 +9,12 @@ module.exports = class HttpCatCommand extends Command { memberName: 'http-cat', description: 'Responds with a cat for an HTTP status code.', clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'HTTP Cats', + url: 'https://http.cat/' + } + ], args: [ { key: 'code', diff --git a/commands/search/http-dog.js b/commands/search/http-dog.js index 5983f753..1ac84272 100644 --- a/commands/search/http-dog.js +++ b/commands/search/http-dog.js @@ -9,6 +9,12 @@ module.exports = class HttpDogCommand extends Command { memberName: 'http-dog', description: 'Responds with a dog for an HTTP status code.', clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'HTTP Status Dogs', + url: 'https://httpstatusdogs.com/' + } + ], args: [ { key: 'code', diff --git a/commands/search/imgur.js b/commands/search/imgur.js index a1bfa7b3..2814d99d 100644 --- a/commands/search/imgur.js +++ b/commands/search/imgur.js @@ -9,6 +9,12 @@ module.exports = class ImgurCommand extends Command { group: 'search', memberName: 'imgur', description: 'Searches Imgur for your query.', + credit: [ + { + name: 'Imgur API', + url: 'https://apidocs.imgur.com/' + } + ], args: [ { key: 'query', diff --git a/commands/search/itunes.js b/commands/search/itunes.js index 85879d5f..91ba96fd 100644 --- a/commands/search/itunes.js +++ b/commands/search/itunes.js @@ -12,6 +12,16 @@ module.exports = class ItunesCommand extends Command { description: 'Searches iTunes for your query.', details: '**Codes:** ', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'iTunes Search API', + url: 'https://affiliate.itunes.apple.com/resources/documentation/itunes-store-web-service-search-api/' + }, + { + name: 'List of ISO 639-2 codes', + url: 'https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes' + } + ], args: [ { key: 'country', diff --git a/commands/search/jisho.js b/commands/search/jisho.js index 4ba1a6fb..03f48236 100644 --- a/commands/search/jisho.js +++ b/commands/search/jisho.js @@ -10,6 +10,12 @@ module.exports = class JishoCommand extends Command { group: 'search', memberName: 'jisho', description: 'Defines a word, but with Japanese.', + credit: [ + { + name: 'Jisho', + url: 'https://jisho.org/' + } + ], args: [ { key: 'word', diff --git a/commands/search/kickstarter.js b/commands/search/kickstarter.js index b3eaea36..faeed151 100644 --- a/commands/search/kickstarter.js +++ b/commands/search/kickstarter.js @@ -12,6 +12,12 @@ module.exports = class KickstarterCommand extends Command { memberName: 'kickstarter', description: 'Searches Kickstarter for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Kickstarter', + url: 'https://www.kickstarter.com/' + } + ], args: [ { key: 'query', diff --git a/commands/search/know-your-meme.js b/commands/search/know-your-meme.js index 4fc73be1..5280b2e5 100644 --- a/commands/search/know-your-meme.js +++ b/commands/search/know-your-meme.js @@ -13,6 +13,12 @@ module.exports = class KnowYourMemeCommand extends Command { memberName: 'know-your-meme', description: 'Searches Know Your Meme for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Know Your Meme', + url: 'https://knowyourmeme.com/' + } + ], args: [ { key: 'query', diff --git a/commands/search/konachan.js b/commands/search/konachan.js index 8dd43ad4..4efa740d 100644 --- a/commands/search/konachan.js +++ b/commands/search/konachan.js @@ -9,6 +9,12 @@ module.exports = class KonachanCommand extends Command { memberName: 'konachan', description: 'Responds with an image from Konachan, with optional query.', nsfw: true, + credit: [ + { + name: 'konachan.com', + url: 'https://konachan.com/' + } + ], args: [ { key: 'query', diff --git a/commands/search/league-of-legends.js b/commands/search/league-of-legends.js index dc2add47..28b37c45 100644 --- a/commands/search/league-of-legends.js +++ b/commands/search/league-of-legends.js @@ -12,6 +12,12 @@ module.exports = class LeagueOfLegendsCommand extends Command { memberName: 'league-of-legends', description: 'Responds with information on a League of Legends champion.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Riot Games API', + url: 'https://developer.riotgames.com/' + } + ], args: [ { key: 'champion', diff --git a/commands/search/manga.js b/commands/search/manga.js index fde55333..15974a2a 100644 --- a/commands/search/manga.js +++ b/commands/search/manga.js @@ -47,6 +47,12 @@ module.exports = class MangaCommand extends Command { memberName: 'manga', description: 'Searches AniList for your query, getting manga results.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'AniList API', + url: 'https://anilist.gitbook.io/anilist-apiv2-docs/' + } + ], args: [ { key: 'query', diff --git a/commands/search/map.js b/commands/search/map.js index 50f585e9..18d7cc0b 100644 --- a/commands/search/map.js +++ b/commands/search/map.js @@ -11,6 +11,12 @@ module.exports = class MapCommand extends Command { memberName: 'map', description: 'Responds with a map of a specific location.', clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Maps Static API', + url: 'https://developers.google.com/maps/documentation/maps-static/intro' + } + ], args: [ { key: 'zoom', diff --git a/commands/search/mayo-clinic.js b/commands/search/mayo-clinic.js index 102a3639..fe62f933 100644 --- a/commands/search/mayo-clinic.js +++ b/commands/search/mayo-clinic.js @@ -13,6 +13,12 @@ module.exports = class MayoClinicCommand extends Command { memberName: 'mayo-clinic', description: 'Searches Mayo Clinic for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Mayo Clinic', + url: 'https://www.mayoclinic.org/' + } + ], args: [ { key: 'query', diff --git a/commands/search/mdn.js b/commands/search/mdn.js index 36e9183a..c28c2af8 100644 --- a/commands/search/mdn.js +++ b/commands/search/mdn.js @@ -10,6 +10,12 @@ module.exports = class MDNCommand extends Command { memberName: 'mdn', description: 'Searches MDN for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'MDN Web Docs', + url: 'https://developer.mozilla.org/en-US/' + } + ], args: [ { key: 'query', diff --git a/commands/search/movie.js b/commands/search/movie.js index 51bda7b3..4734d779 100644 --- a/commands/search/movie.js +++ b/commands/search/movie.js @@ -13,6 +13,12 @@ module.exports = class MovieCommand extends Command { memberName: 'movie', description: 'Searches TMDB for your query, getting movie results.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'The Movie Database API', + url: 'https://www.themoviedb.org/documentation/api' + } + ], args: [ { key: 'query', diff --git a/commands/search/nasa.js b/commands/search/nasa.js index b33da5f8..48e8318e 100644 --- a/commands/search/nasa.js +++ b/commands/search/nasa.js @@ -11,6 +11,12 @@ module.exports = class NASACommand extends Command { memberName: 'nasa', description: 'Searches NASA\'s image archive for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'NASA Open APIs', + url: 'https://api.nasa.gov/' + } + ], args: [ { key: 'query', diff --git a/commands/search/neopet.js b/commands/search/neopet.js index d16dc418..c45767e8 100644 --- a/commands/search/neopet.js +++ b/commands/search/neopet.js @@ -16,6 +16,12 @@ module.exports = class NeopetCommand extends Command { group: 'search', memberName: 'neopet', description: 'Responds with the image of a specific Neopet.', + credit: [ + { + name: 'Neopets', + url: 'http://www.neopets.com/' + } + ], args: [ { key: 'pet', diff --git a/commands/search/neopets-item.js b/commands/search/neopets-item.js index ddd55a97..ff950b6f 100644 --- a/commands/search/neopets-item.js +++ b/commands/search/neopets-item.js @@ -12,6 +12,16 @@ module.exports = class NeopetsItemCommand extends Command { memberName: 'neopets-item', description: 'Responds with information on a specific Neopets item.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Neopets', + url: 'http://www.neopets.com/' + }, + { + name: 'JellyNeo Item Database', + url: 'https://items.jellyneo.net/' + } + ], args: [ { key: 'item', diff --git a/commands/search/npm.js b/commands/search/npm.js index 35688e11..0cc6e55a 100644 --- a/commands/search/npm.js +++ b/commands/search/npm.js @@ -12,6 +12,12 @@ module.exports = class NPMCommand extends Command { memberName: 'npm', description: 'Responds with information on an NPM package.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'npm', + url: 'https://www.npmjs.com/' + } + ], args: [ { key: 'pkg', diff --git a/commands/search/osu.js b/commands/search/osu.js index 759cb54e..02530fd7 100644 --- a/commands/search/osu.js +++ b/commands/search/osu.js @@ -12,6 +12,12 @@ module.exports = class OsuCommand extends Command { memberName: 'osu', description: 'Responds with information on an osu! user.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'osu!api', + url: 'https://github.com/ppy/osu-api/wiki' + } + ], args: [ { key: 'user', diff --git a/commands/search/periodic-table.js b/commands/search/periodic-table.js index 2721c751..e363bec1 100644 --- a/commands/search/periodic-table.js +++ b/commands/search/periodic-table.js @@ -17,6 +17,16 @@ module.exports = class PeriodicTableCommand extends Command { duration: 10 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Bowserinator/Periodic-Table-JSON', + url: 'https://github.com/Bowserinator/Periodic-Table-JSON' + }, + { + name: 'Google Noto Fonts', + url: 'https://www.google.com/get/noto/' + } + ], args: [ { key: 'element', diff --git a/commands/search/pokedex.js b/commands/search/pokedex.js index ce1896df..7833eece 100644 --- a/commands/search/pokedex.js +++ b/commands/search/pokedex.js @@ -11,6 +11,20 @@ module.exports = class PokedexCommand extends Command { memberName: 'pokedex', description: 'Searches the Pokédex for a Pokémon.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Pokémon', + url: 'https://www.pokemon.com/us/' + }, + { + name: 'PokéAPI', + url: 'https://pokeapi.co/' + }, + { + name: 'Serebii.net', + url: 'https://www.serebii.net/index2.shtml' + } + ], args: [ { key: 'pokemon', diff --git a/commands/search/recipe.js b/commands/search/recipe.js index 712733dc..8f6f2329 100644 --- a/commands/search/recipe.js +++ b/commands/search/recipe.js @@ -11,6 +11,12 @@ module.exports = class RecipeCommand extends Command { memberName: 'recipe', description: 'Searches for recipes based on your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Recipe Puppy API', + url: 'http://www.recipepuppy.com/about/api/' + } + ], args: [ { key: 'query', diff --git a/commands/search/reddit.js b/commands/search/reddit.js index ffdc3701..9f0a7b69 100644 --- a/commands/search/reddit.js +++ b/commands/search/reddit.js @@ -13,6 +13,12 @@ module.exports = class RedditCommand extends Command { memberName: 'reddit', description: 'Responds with information on a Reddit user.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Reddit', + url: 'https://www.reddit.com/' + } + ], args: [ { key: 'user', diff --git a/commands/search/rotten-tomatoes.js b/commands/search/rotten-tomatoes.js index 0dfdf2bd..55ca7b0b 100644 --- a/commands/search/rotten-tomatoes.js +++ b/commands/search/rotten-tomatoes.js @@ -12,6 +12,12 @@ module.exports = class RottenTomatoesCommand extends Command { memberName: 'rotten-tomatoes', description: 'Searches Rotten Tomatoes for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Rotten Tomatoes', + url: 'https://www.rottentomatoes.com/' + } + ], args: [ { key: 'query', diff --git a/commands/search/safebooru.js b/commands/search/safebooru.js index 3ee74152..d5dbaaae 100644 --- a/commands/search/safebooru.js +++ b/commands/search/safebooru.js @@ -8,6 +8,12 @@ module.exports = class SafebooruCommand extends Command { group: 'search', memberName: 'safebooru', description: 'Responds with an image from Safebooru, with optional query.', + credit: [ + { + name: 'Safebooru', + url: 'https://safebooru.org/' + } + ], args: [ { key: 'query', diff --git a/commands/search/soundcloud.js b/commands/search/soundcloud.js index b761d69c..ad073ef4 100644 --- a/commands/search/soundcloud.js +++ b/commands/search/soundcloud.js @@ -14,6 +14,12 @@ module.exports = class SoundcloudCommand extends Command { memberName: 'soundcloud', description: 'Searches SoundCloud for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'SoundCloud API', + url: 'https://developers.soundcloud.com/' + } + ], args: [ { key: 'query', diff --git a/commands/search/stack-overflow.js b/commands/search/stack-overflow.js index 78cccfa3..2265f334 100644 --- a/commands/search/stack-overflow.js +++ b/commands/search/stack-overflow.js @@ -13,6 +13,12 @@ module.exports = class StackOverflowCommand extends Command { memberName: 'stack-overflow', description: 'Searches Stack Overflow for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Stack Exchange API', + url: 'https://api.stackexchange.com/docs' + } + ], args: [ { key: 'query', diff --git a/commands/search/steam.js b/commands/search/steam.js index f2a0104d..85ee489e 100644 --- a/commands/search/steam.js +++ b/commands/search/steam.js @@ -11,6 +11,12 @@ module.exports = class SteamCommand extends Command { memberName: 'steam', description: 'Searches Steam for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Steam', + url: 'https://store.steampowered.com/' + } + ], args: [ { key: 'query', diff --git a/commands/search/stocks.js b/commands/search/stocks.js index aa5551e4..8a32d583 100644 --- a/commands/search/stocks.js +++ b/commands/search/stocks.js @@ -13,6 +13,12 @@ module.exports = class StocksCommand extends Command { memberName: 'stocks', description: 'Responds with the current stocks for a specific symbol.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Alpha Vantage', + url: 'https://www.alphavantage.co/' + } + ], args: [ { key: 'symbol', diff --git a/commands/search/tenor.js b/commands/search/tenor.js index a247c1b2..244ecb4e 100644 --- a/commands/search/tenor.js +++ b/commands/search/tenor.js @@ -9,6 +9,12 @@ module.exports = class TenorCommand extends Command { group: 'search', memberName: 'tenor', description: 'Searches Tenor for your query.', + credit: [ + { + name: 'Tenor API', + url: 'https://tenor.com/gifapi/documentation' + } + ], args: [ { key: 'query', diff --git a/commands/search/tumblr.js b/commands/search/tumblr.js index d1d01a2d..a1d34d76 100644 --- a/commands/search/tumblr.js +++ b/commands/search/tumblr.js @@ -12,6 +12,12 @@ module.exports = class TumblrCommand extends Command { memberName: 'tumblr', description: 'Responds with information on a Tumblr blog.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Tumblr API', + url: 'https://www.tumblr.com/docs/en/api/v2' + } + ], args: [ { key: 'blog', diff --git a/commands/search/tv-show.js b/commands/search/tv-show.js index ca2a91cd..e58018ed 100644 --- a/commands/search/tv-show.js +++ b/commands/search/tv-show.js @@ -13,6 +13,12 @@ module.exports = class TvShowCommand extends Command { memberName: 'tv-show', description: 'Searches TMDB for your query, getting TV show results.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'The Movie Database API', + url: 'https://www.themoviedb.org/documentation/api' + } + ], args: [ { key: 'query', diff --git a/commands/search/twitter.js b/commands/search/twitter.js index 2a2195b6..b2bd2367 100644 --- a/commands/search/twitter.js +++ b/commands/search/twitter.js @@ -14,6 +14,12 @@ module.exports = class TwitterCommand extends Command { memberName: 'twitter', description: 'Responds with information on a Twitter user.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Twitter API', + url: 'https://developer.twitter.com/en/docs.html' + } + ], args: [ { key: 'user', diff --git a/commands/search/urban.js b/commands/search/urban.js index 4252607d..89957be8 100644 --- a/commands/search/urban.js +++ b/commands/search/urban.js @@ -12,6 +12,12 @@ module.exports = class UrbanCommand extends Command { memberName: 'urban', description: 'Defines a word, but with Urban Dictionary.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Urban Dictionary API', + url: 'https://github.com/zdict/zdict/wiki/Urban-dictionary-API-documentation' + } + ], args: [ { key: 'word', diff --git a/commands/search/visual-novel.js b/commands/search/visual-novel.js index 4e8cd3da..886e11ee 100644 --- a/commands/search/visual-novel.js +++ b/commands/search/visual-novel.js @@ -12,6 +12,12 @@ module.exports = class VisualNovelCommand extends Command { memberName: 'visual-novel', description: 'Responds with information on a Visual Novel.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'The Visual Novel Database', + url: 'https://vndb.org/' + } + ], args: [ { key: 'query', diff --git a/commands/search/vocadb.js b/commands/search/vocadb.js index fcb558a3..3f3d7470 100644 --- a/commands/search/vocadb.js +++ b/commands/search/vocadb.js @@ -13,6 +13,12 @@ module.exports = class VocadbCommand extends Command { memberName: 'vocadb', description: 'Searches VocaDB for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'VocaDB Web API', + url: 'https://vocadb.net/swagger/ui/index' + } + ], args: [ { key: 'query', diff --git a/commands/search/wattpad.js b/commands/search/wattpad.js index 79ea29aa..b7b3f32d 100644 --- a/commands/search/wattpad.js +++ b/commands/search/wattpad.js @@ -13,6 +13,12 @@ module.exports = class WattpadCommand extends Command { memberName: 'wattpad', description: 'Searches Wattpad for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Wattpad API', + url: 'https://www.wattpad.com/developer/docs/api' + } + ], args: [ { key: 'query', diff --git a/commands/search/weather.js b/commands/search/weather.js index 5f8e9805..35f8a0f3 100644 --- a/commands/search/weather.js +++ b/commands/search/weather.js @@ -12,6 +12,12 @@ module.exports = class WeatherCommand extends Command { memberName: 'weather', description: 'Responds with weather information for a specific location.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'OpenWeatherMap API', + url: 'https://openweathermap.org/api' + } + ], args: [ { key: 'location', diff --git a/commands/search/wikia.js b/commands/search/wikia.js index ae3850ec..105a0d38 100644 --- a/commands/search/wikia.js +++ b/commands/search/wikia.js @@ -12,6 +12,12 @@ module.exports = class WikiaCommand extends Command { memberName: 'wikia', description: 'Searches a specific Wikia wiki for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'FANDOM', + url: 'https://www.fandom.com/' + } + ], args: [ { key: 'wiki', diff --git a/commands/search/wikihow.js b/commands/search/wikihow.js index 0b8b7927..69f2dc50 100644 --- a/commands/search/wikihow.js +++ b/commands/search/wikihow.js @@ -10,6 +10,12 @@ module.exports = class WikihowCommand extends Command { group: 'search', memberName: 'wikihow', description: 'Searches Wikihow for your query.', + credit: [ + { + name: 'wikiHow', + url: 'https://www.wikihow.com/Main-Page' + } + ], args: [ { key: 'query', diff --git a/commands/search/wikipedia.js b/commands/search/wikipedia.js index 8f4ac596..72869677 100644 --- a/commands/search/wikipedia.js +++ b/commands/search/wikipedia.js @@ -11,6 +11,12 @@ module.exports = class WikipediaCommand extends Command { memberName: 'wikipedia', description: 'Searches Wikipedia for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Wikipedia', + url: 'https://www.wikipedia.org/' + } + ], args: [ { key: 'query', diff --git a/commands/search/xkcd.js b/commands/search/xkcd.js index 56b89b16..e7b40898 100644 --- a/commands/search/xkcd.js +++ b/commands/search/xkcd.js @@ -12,6 +12,12 @@ module.exports = class XKCDCommand extends Command { memberName: 'xkcd', description: 'Responds with an XKCD comic, either today\'s, a random one, or a specific one.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'xkcd', + url: 'https://xkcd.com/' + } + ], args: [ { key: 'query', diff --git a/commands/search/youtube.js b/commands/search/youtube.js index a03acdfe..a1f39814 100644 --- a/commands/search/youtube.js +++ b/commands/search/youtube.js @@ -13,6 +13,12 @@ module.exports = class YoutubeCommand extends Command { memberName: 'youtube', description: 'Searches YouTube for your query.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'YouTube Data API', + url: 'https://developers.google.com/youtube/v3/' + } + ], args: [ { key: 'query', diff --git a/commands/search/yu-gi-oh.js b/commands/search/yu-gi-oh.js index a5a8d8dc..4975cc58 100644 --- a/commands/search/yu-gi-oh.js +++ b/commands/search/yu-gi-oh.js @@ -12,6 +12,16 @@ module.exports = class YuGiOhCommand extends Command { memberName: 'yu-gi-oh', description: 'Responds with info on a Yu-Gi-Oh! card.', clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Yu-Gi-Oh! Trading Card Game', + url: 'https://www.yugioh-card.com/en/' + }, + { + name: 'Yugioh Prices API', + url: 'https://yugiohprices.docs.apiary.io/' + } + ], args: [ { key: 'card', diff --git a/commands/single/eggs-get-laid.js b/commands/single/eggs-get-laid.js index 7b7b694b..62ffb7f9 100644 --- a/commands/single/eggs-get-laid.js +++ b/commands/single/eggs-get-laid.js @@ -9,7 +9,13 @@ module.exports = class EggsGetLaidCommand extends Command { group: 'single', memberName: 'eggs-get-laid', description: 'Sends the ultimate roast.', - clientPermissions: ['ATTACH_FILES'] + clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'KINMOZA!', + url: 'http://www.kinmosa.com/' + } + ] }); } diff --git a/commands/single/give-flower.js b/commands/single/give-flower.js index 8e095ac8..e8cdf202 100644 --- a/commands/single/give-flower.js +++ b/commands/single/give-flower.js @@ -6,7 +6,13 @@ module.exports = class GiveFlowerCommand extends Command { name: 'give-flower', group: 'single', memberName: 'give-flower', - description: 'Gives Xiao Pai a flower.' + description: 'Gives Xiao Pai a flower.', + credit: [ + { + name: 'Rune Factory 4', + url: 'http://www.runefactory4.com/index1.html' + } + ] }); } diff --git a/commands/single/isnt-joke.js b/commands/single/isnt-joke.js index 1e211f44..78799ebc 100644 --- a/commands/single/isnt-joke.js +++ b/commands/single/isnt-joke.js @@ -9,7 +9,13 @@ module.exports = class IsntJokeCommand extends Command { group: 'single', memberName: 'isnt-joke', description: 'Isn\'t joke...', - clientPermissions: ['ATTACH_FILES'] + clientPermissions: ['ATTACH_FILES'], + url: [ + { + name: 'Love Live! School Idol Project', + url: 'http://www.lovelive-anime.jp/' + } + ] }); } diff --git a/commands/single/its-joke.js b/commands/single/its-joke.js index ecd106a8..20b43000 100644 --- a/commands/single/its-joke.js +++ b/commands/single/its-joke.js @@ -9,7 +9,13 @@ module.exports = class ItsJokeCommand extends Command { group: 'single', memberName: 'its-joke', description: 'It\'s joke!', - clientPermissions: ['ATTACH_FILES'] + clientPermissions: ['ATTACH_FILES'], + url: [ + { + name: 'Love Live! School Idol Project', + url: 'http://www.lovelive-anime.jp/' + } + ] }); } diff --git a/commands/single/just-do-it.js b/commands/single/just-do-it.js index 0b09b46c..3ad3bbaa 100644 --- a/commands/single/just-do-it.js +++ b/commands/single/just-do-it.js @@ -7,7 +7,13 @@ module.exports = class JustDoItCommand extends Command { aliases: ['motivate'], group: 'single', memberName: 'just-do-it', - description: 'Sends a link to the "Just Do It!" motivational speech.' + description: 'Sends a link to the "Just Do It!" motivational speech.', + credit: [ + { + name: 'Shia LaBeouf "Just Do It" Motivational Speech', + url: 'https://www.youtube.com/watch?v=ZXsQAXx_ao0' + } + ] }); } diff --git a/commands/single/spam.js b/commands/single/spam.js index 7255204b..7a6d5abc 100644 --- a/commands/single/spam.js +++ b/commands/single/spam.js @@ -8,7 +8,13 @@ module.exports = class SpamCommand extends Command { group: 'single', memberName: 'spam', description: 'Responds with a picture of Spam.', - clientPermissions: ['ATTACH_FILES'] + clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'SPAM Brand', + url: 'https://www.spam.com/' + } + ] }); } diff --git a/commands/single/wynaut.js b/commands/single/wynaut.js index f29cbc40..3cf07dd3 100644 --- a/commands/single/wynaut.js +++ b/commands/single/wynaut.js @@ -9,7 +9,13 @@ module.exports = class WynautCommand extends Command { group: 'single', memberName: 'wynaut', description: 'Why not? Wynaut?', - clientPermissions: ['ATTACH_FILES'] + clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Pokémon TV', + url: 'https://www.pokemon.com/us/pokemon-episodes/' + } + ] }); } diff --git a/commands/text-edit/brony-speak.js b/commands/text-edit/brony-speak.js index ab1fa3c7..b9c3a5a9 100644 --- a/commands/text-edit/brony-speak.js +++ b/commands/text-edit/brony-speak.js @@ -10,6 +10,12 @@ module.exports = class BronySpeakCommand extends Command { group: 'text-edit', memberName: 'brony-speak', description: 'Converts text to brony speak.', + credit: [ + { + name: 'My Little Pony: Friendship is Magic', + url: 'https://mylittlepony.hasbro.com/en-us' + } + ], args: [ { key: 'text', diff --git a/commands/text-edit/cow-say.js b/commands/text-edit/cow-say.js index 2c31f6eb..b36e7d9c 100644 --- a/commands/text-edit/cow-say.js +++ b/commands/text-edit/cow-say.js @@ -8,6 +8,12 @@ module.exports = class CowSayCommand extends Command { group: 'text-edit', memberName: 'cow-say', description: 'Makes a cow say your text.', + credit: [ + { + name: 'cowsay Online', + url: 'http://cowsay.morecode.org/' + } + ], args: [ { key: 'text', diff --git a/commands/text-edit/latlmes.js b/commands/text-edit/latlmes.js index d6e496a2..c38413c6 100644 --- a/commands/text-edit/latlmes.js +++ b/commands/text-edit/latlmes.js @@ -7,6 +7,12 @@ module.exports = class LatlmesCommand extends Command { group: 'text-edit', memberName: 'latlmes', description: 'Creates a Latlmes fake link that redirects to a rickroll.', + credit: [ + { + name: 'Latlmes', + url: 'https://www.latlmes.com/' + } + ], args: [ { key: 'section', diff --git a/commands/text-edit/lmgtfy.js b/commands/text-edit/lmgtfy.js index 12c9d719..991d02ba 100644 --- a/commands/text-edit/lmgtfy.js +++ b/commands/text-edit/lmgtfy.js @@ -8,6 +8,12 @@ module.exports = class LMGTFYCommand extends Command { group: 'text-edit', memberName: 'lmgtfy', description: 'Creates a LMGTFY link with the query you provide.', + credit: [ + { + name: 'LMGTFY', + url: 'https://lmgtfy.com/' + } + ], args: [ { key: 'query', diff --git a/commands/text-edit/nobody-name.js b/commands/text-edit/nobody-name.js index 102342c6..54cc1168 100644 --- a/commands/text-edit/nobody-name.js +++ b/commands/text-edit/nobody-name.js @@ -9,6 +9,12 @@ module.exports = class NobodyNameCommand extends Command { group: 'text-edit', memberName: 'nobody-name', description: 'Converts a name into the Organization XIII style.', + credit: [ + { + name: 'Kingdom Hearts', + url: 'https://www.kingdomhearts.com/home/us/' + } + ], args: [ { key: 'text', diff --git a/commands/text-edit/shorten-url.js b/commands/text-edit/shorten-url.js index 929ab480..5a56c04a 100644 --- a/commands/text-edit/shorten-url.js +++ b/commands/text-edit/shorten-url.js @@ -10,6 +10,12 @@ module.exports = class ShortenURLCommand extends Command { group: 'text-edit', memberName: 'shorten-url', description: 'Creates a goo.gl short URL from another URL.', + credit: [ + { + name: 'Google URL Shortener API', + url: 'https://developers.google.com/url-shortener/' + } + ], args: [ { key: 'url', diff --git a/commands/text-edit/temmie.js b/commands/text-edit/temmie.js index 7a911fdd..0d549eae 100644 --- a/commands/text-edit/temmie.js +++ b/commands/text-edit/temmie.js @@ -10,6 +10,12 @@ module.exports = class TemmieCommand extends Command { group: 'text-edit', memberName: 'temmie', description: 'Converts text to Temmie speak.', + credit: [ + { + name: 'UNDERTALE', + url: 'https://undertale.com/' + } + ], args: [ { key: 'text', diff --git a/commands/text-edit/translate.js b/commands/text-edit/translate.js index 779c2557..416f916a 100644 --- a/commands/text-edit/translate.js +++ b/commands/text-edit/translate.js @@ -15,6 +15,12 @@ module.exports = class TranslateCommand extends Command { description: 'Translates text to a specific language.', details: `**Codes:** ${Object.keys(codes).join(', ')}`, clientPermissions: ['EMBED_LINKS'], + credit: [ + { + name: 'Yandex.Translate API', + url: 'https://tech.yandex.com/translate/doc/dg/reference/translate-docpage/' + } + ], args: [ { key: 'text', diff --git a/commands/text-edit/yoda.js b/commands/text-edit/yoda.js index 7b0548cf..46de4dcc 100644 --- a/commands/text-edit/yoda.js +++ b/commands/text-edit/yoda.js @@ -10,6 +10,12 @@ module.exports = class YodaCommand extends Command { group: 'text-edit', memberName: 'yoda', description: 'Converts text to Yoda speak.', + credit: [ + { + name: 'The Yoda-Speak Generator', + url: 'https://www.yodaspeak.co.uk/' + } + ], args: [ { key: 'sentence', diff --git a/commands/util/changelog.js b/commands/util/changelog.js index e9013760..7c909c27 100644 --- a/commands/util/changelog.js +++ b/commands/util/changelog.js @@ -12,7 +12,13 @@ module.exports = class ChangelogCommand extends Command { group: 'util', memberName: 'changelog', description: 'Responds with the bot\'s latest 10 commits.', - guarded: true + guarded: true, + credit: [ + { + name: 'GitHub API', + url: 'https://developer.github.com/v3/' + } + ] }); } diff --git a/commands/util/credit.js b/commands/util/credit.js new file mode 100644 index 00000000..e5cfa866 --- /dev/null +++ b/commands/util/credit.js @@ -0,0 +1,29 @@ +const Command = require('../../structures/Command'); +const { MessageEmbed } = require('discord.js'); + +module.exports = class CreditCommand extends Command { + constructor(client) { + super(client, { + name: 'credit', + group: 'util', + memberName: 'credit', + description: 'Responds with a command\'s credits list.', + guarded: true, + args: [ + { + key: 'command', + prompt: 'Which command would you like to view the credits list of?', + type: 'command' + } + ] + }); + } + + run(msg, { command }) { + const embed = new MessageEmbed() + .setTitle(command.name) + .setColor(0x7289DA) + .setDescription(command.credit.map(credit => `[${credit.name}](${credit.url})`).join('\n')); + return msg.embed(embed); + } +}; diff --git a/commands/util/donate.js b/commands/util/donate.js index d7d91ea4..0f5ff27f 100644 --- a/commands/util/donate.js +++ b/commands/util/donate.js @@ -9,7 +9,17 @@ module.exports = class DonateCommand extends Command { group: 'util', memberName: 'donate', description: 'Responds with the bot\'s donation links.', - guarded: true + guarded: true, + credit: [ + { + name: 'Patreon', + url: 'https://www.patreon.com/' + }, + { + name: 'PayPal', + url: 'https://www.paypal.com/us/home' + } + ] }); } diff --git a/structures/Command.js b/structures/Command.js index 44934e93..0f4bd661 100644 --- a/structures/Command.js +++ b/structures/Command.js @@ -6,5 +6,7 @@ module.exports = class XiaoCommand extends Command { this.argsSingleQuotes = info.argsSingleQuotes || false; this.throttling = info.throttling || { usages: 1, duration: 2 }; + this.credit = info.credit || []; + this.credit.push({ name: 'Dragon Fire', url: 'https://github.com/dragonfire535' }); } }; diff --git a/structures/commands/ImgurAlbum.js b/structures/commands/ImgurAlbum.js index fc25e886..adfdb356 100644 --- a/structures/commands/ImgurAlbum.js +++ b/structures/commands/ImgurAlbum.js @@ -8,6 +8,10 @@ module.exports = class ImgurAlbumCommand extends Command { this.albumID = info.albumID; this.cache = null; + this.credit.push({ + name: 'Imgur API', + url: 'https://apidocs.imgur.com/' + }); } async run(msg, { user }) { diff --git a/structures/commands/Subreddit.js b/structures/commands/Subreddit.js index ebe025d1..9227b71e 100644 --- a/structures/commands/Subreddit.js +++ b/structures/commands/Subreddit.js @@ -7,6 +7,10 @@ module.exports = class SubredditCommand extends Command { this.subreddit = info.subreddit; this.postType = info.postType ? Array.isArray(info.postType) ? info.postType : [info.postType] : null; + this.credit.push({ + name: 'Reddit', + url: 'https://www.reddit.com/' + }); } async run(msg, { subreddit }) {