From 971baddaead7520a6e97ad5100db0a71b22e68d6 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 22 Dec 2019 15:05:05 -0500 Subject: [PATCH] Bring credit up-to-date --- commands/avatar-edit/hat.js | 8 ++++++++ commands/meme-gen/cursed-sponge.js | 6 ++++++ commands/random/8-ball.js | 6 ++++++ commands/random/axis-cult.js | 2 +- commands/random/chuck-norris.js | 4 ++++ commands/random/random-user.js | 2 +- commands/search/google-autofill.js | 6 ++++++ commands/single/dark-light.js | 10 ++++++++++ commands/single/eat-pant.js | 12 +++++++++++- commands/single/kazuma-kazuma.js | 8 +++++++- commands/single/suicide-hotline.js | 8 +++++++- commands/sp-games/doors.js | 10 ++++++++++ commands/sp-games/google-feud.js | 4 ++++ package.json | 2 +- 14 files changed, 82 insertions(+), 6 deletions(-) diff --git a/commands/avatar-edit/hat.js b/commands/avatar-edit/hat.js index 65101938..0b439fe7 100644 --- a/commands/avatar-edit/hat.js +++ b/commands/avatar-edit/hat.js @@ -38,6 +38,14 @@ module.exports = class HatCommand extends Command { { name: 'PinClipart', url: 'https://www.pinclipart.com/' + }, + { + name: 'RedBubble - Akbar Mna', + url: 'https://www.redbubble.com/en/people/akbarmna/shop' + }, + { + name: 'KONOSUBA -God\'s blessing on this wonderful world!', + url: 'http://konosuba.com/' } ], args: [ diff --git a/commands/meme-gen/cursed-sponge.js b/commands/meme-gen/cursed-sponge.js index 63fa1d4e..a35aa32d 100644 --- a/commands/meme-gen/cursed-sponge.js +++ b/commands/meme-gen/cursed-sponge.js @@ -15,6 +15,12 @@ module.exports = class CursedSpongeCommand extends Command { duration: 30 }, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'Spongebob Squarepants', + url: 'https://www.nick.com/shows/spongebob-squarepants' + } + ], args: [ { key: 'amount', diff --git a/commands/random/8-ball.js b/commands/random/8-ball.js index cf85ce82..356317b9 100644 --- a/commands/random/8-ball.js +++ b/commands/random/8-ball.js @@ -10,6 +10,12 @@ module.exports = class EightBallCommand extends Command { group: 'random', memberName: '8-ball', description: 'Asks your question to the Magic 8 Ball.', + credit: [ + { + name: 'Mattel', + url: 'https://www.mattelgames.com/games/en-us/kids/magic-8-ball' + } + ], args: [ { key: 'question', diff --git a/commands/random/axis-cult.js b/commands/random/axis-cult.js index e9b655c2..96b540e2 100644 --- a/commands/random/axis-cult.js +++ b/commands/random/axis-cult.js @@ -15,7 +15,7 @@ module.exports = class AxisCultCommand extends Command { url: 'https://www.reddit.com/r/axisorderbot/wiki/index' }, { - name: 'Konosuba: God\'s Blessing on this Wonderful World!', + name: 'KONOSUBA -God\'s blessing on this wonderful world!', url: 'http://konosuba.com/' } ] diff --git a/commands/random/chuck-norris.js b/commands/random/chuck-norris.js index f794bfe1..55f1f089 100644 --- a/commands/random/chuck-norris.js +++ b/commands/random/chuck-norris.js @@ -10,6 +10,10 @@ module.exports = class ChuckNorrisCommand extends Command { memberName: 'chuck-norris', description: 'Responds with a random Chuck Norris joke.', credit: [ + { + name: 'Chuck Norris', + url: 'https://chucknorris.com/' + }, { name: 'The Internet Chuck Norris Database API', url: 'http://www.icndb.com/api/' diff --git a/commands/random/random-user.js b/commands/random/random-user.js index 8ae1e1dc..12389ed5 100644 --- a/commands/random/random-user.js +++ b/commands/random/random-user.js @@ -4,7 +4,7 @@ module.exports = class RandomUserCommand extends Command { constructor(client) { super(client, { name: 'random-user', - aliases: ['member-roulette', 'user-roulette', 'random-member'], + aliases: ['member-roulette', 'user-roulette', 'random-member', 'someone', '@someone'], group: 'random', memberName: 'random-user', description: 'Randomly chooses a member of the server.' diff --git a/commands/search/google-autofill.js b/commands/search/google-autofill.js index c688ce4f..29da8098 100644 --- a/commands/search/google-autofill.js +++ b/commands/search/google-autofill.js @@ -9,6 +9,12 @@ module.exports = class GoogleAutofillCommand extends Command { group: 'search', memberName: 'google-autofill', description: 'Responds with a list of the Google Autofill results for a particular query.', + credit: [ + { + name: 'Google', + url: 'https://www.google.com/' + } + ], args: [ { key: 'query', diff --git a/commands/single/dark-light.js b/commands/single/dark-light.js index 5a24fa9a..104a3cc4 100644 --- a/commands/single/dark-light.js +++ b/commands/single/dark-light.js @@ -13,6 +13,16 @@ module.exports = class DarkLightCommand extends Command { description: 'Determines whether you use dark or light theme.', details: `**Types:** ${types.join(', ')}`, clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'u/LennyMcLennington', + url: 'https://www.reddit.com/r/discordapp/comments/8t04ag/this_image_shows_different_text_depending_on/' + }, + { + name: 'u/AelinSA', + url: 'https://www.reddit.com/r/discordapp/comments/9krnhr/preach_the_message_of_the_möth_with_this_magic/' + } + ], args: [ { key: 'type', diff --git a/commands/single/eat-pant.js b/commands/single/eat-pant.js index c14e4969..fb1c30f7 100644 --- a/commands/single/eat-pant.js +++ b/commands/single/eat-pant.js @@ -9,7 +9,17 @@ module.exports = class EatPantCommand extends Command { group: 'single', memberName: 'eat-pant', description: 'Eat pant.', - clientPermissions: ['ATTACH_FILES'] + clientPermissions: ['ATTACH_FILES'], + credit: [ + { + name: 'u/_Ebb', + url: 'https://www.reddit.com/r/Ooer/comments/52z589/eat_pant_maaaaaaaan/' + }, + { + name: 'The Simpsons', + url: 'http://www.simpsonsworld.com/' + } + ] }); } diff --git a/commands/single/kazuma-kazuma.js b/commands/single/kazuma-kazuma.js index de5628a0..0d5d8e74 100644 --- a/commands/single/kazuma-kazuma.js +++ b/commands/single/kazuma-kazuma.js @@ -7,7 +7,13 @@ module.exports = class KazumaKazumaCommand extends Command { group: 'single', memberName: 'kazuma-kazuma', description: 'Hai, Kazuma desu.', - patterns: [/kazuma,? kazuma!?/i] + patterns: [/kazuma,? kazuma!?/i], + credit: [ + { + name: 'KONOSUBA -God\'s blessing on this wonderful world!', + url: 'http://konosuba.com/' + } + ] }); } diff --git a/commands/single/suicide-hotline.js b/commands/single/suicide-hotline.js index 654ed67e..74c62b2d 100644 --- a/commands/single/suicide-hotline.js +++ b/commands/single/suicide-hotline.js @@ -8,7 +8,13 @@ module.exports = class SuicideHotlineCommand extends Command { group: 'single', memberName: 'suicide-hotline', description: 'Responds with the phone number for the Suicide Hotline.', - patterns: [/kms|(kill myself)/i] + patterns: [/kms|(kill myself)/i], + credit: [ + { + name: 'National Suicide Prevention Lifeline', + url: 'https://suicidepreventionlifeline.org/' + } + ] }); } diff --git a/commands/sp-games/doors.js b/commands/sp-games/doors.js index 42b83c14..d11264b9 100644 --- a/commands/sp-games/doors.js +++ b/commands/sp-games/doors.js @@ -11,6 +11,16 @@ module.exports = class DoorsCommand extends Command { group: 'sp-games', memberName: 'doors', description: 'Open the right door, and you win the money! Make the wrong choice, and you get the fire!', + credit: [ + { + name: 'Mythbusters', + url: 'https://go.discovery.com/tv-shows/mythbusters' + }, + { + name: 'Monty Hall problem', + url: 'https://en.wikipedia.org/wiki/Monty_Hall_problem' + } + ], args: [ { key: 'door', diff --git a/commands/sp-games/google-feud.js b/commands/sp-games/google-feud.js index 09cbfbd3..d6cda71f 100644 --- a/commands/sp-games/google-feud.js +++ b/commands/sp-games/google-feud.js @@ -11,6 +11,10 @@ module.exports = class GoogleFeudCommand extends Command { memberName: 'google-feud', description: 'Attempt to determine the top suggestions for a Google search.', credit: [ + { + name: 'Google', + url: 'https://www.google.com/' + }, { name: 'Google Feud', url: 'http://www.googlefeud.com/' diff --git a/package.json b/package.json index 74fc4cb2..c33bbb5a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "109.4.0", + "version": "109.4.1", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {