From 33d40c238c83715984929d81ec8c8825ec08b9a8 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 29 Nov 2020 13:45:56 -0500 Subject: [PATCH] Various Fixes and Additions --- README.md | 4 +++- commands/edit-avatar/hat.js | 5 +++++ commands/edit-number/gravity.js | 4 ++-- commands/events/neko-atsume-password.js | 1 + commands/random-res/news.js | 1 - commands/voice/soundboard.js | 1 + package.json | 2 +- 7 files changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index eba8616f..c7a55724 100644 --- a/README.md +++ b/README.md @@ -823,7 +823,7 @@ Total: 565 * **currency:** Converts currency from one currency to another. * **final-grade:** Determines the grade you need to make on your final to get your desired course grade. * **grade:** Determines your grade on an assignment on an 100-point scale. -* **gravity:** Determines weight on another planet. +* **gravity:** Determines weight on another celestial object. * **math:** Evaluates a math expression. * **prime:** Determines if a number is a prime number. * **roman:** Converts a number to roman numerals. @@ -985,6 +985,8 @@ here. * cuteness (Concept) * screenshot (Concept) * worth (Concept) +- [Becel](https://www.becel.ca/en-ca) + * hat (Becel Hat Image) - [Bethesda](https://bethesda.net/en/dashboard) * dislike ([Image, Original "Fallout" Game](https://fallout.bethesda.net/en/)) * like ([Image, Original "Fallout" Game](https://fallout.bethesda.net/en/)) diff --git a/commands/edit-avatar/hat.js b/commands/edit-avatar/hat.js index bcfc6967..1310453c 100644 --- a/commands/edit-avatar/hat.js +++ b/commands/edit-avatar/hat.js @@ -113,6 +113,11 @@ module.exports = class HatCommand extends Command { url: 'https://webstockreview.net/', reason: 'Devil Hat Image', reasonURL: 'https://webstockreview.net/explore/horn-clipart-purple-devil/' + }, + { + name: 'Becel', + url: 'https://www.becel.ca/en-ca', + reason: 'Becel Hat Image' } ], args: [ diff --git a/commands/edit-number/gravity.js b/commands/edit-number/gravity.js index 7a5d970b..31774d20 100644 --- a/commands/edit-number/gravity.js +++ b/commands/edit-number/gravity.js @@ -8,8 +8,8 @@ module.exports = class GravityCommand extends Command { name: 'gravity', group: 'edit-number', memberName: 'gravity', - description: 'Determines weight on another planet.', - details: `**Planets:** ${Object.keys(planets).join(', ')}`, + description: 'Determines weight on another celestial object.', + details: `**Celestial Objects:** ${Object.keys(planets).join(', ')}`, credit: [ { name: 'NASA', diff --git a/commands/events/neko-atsume-password.js b/commands/events/neko-atsume-password.js index 571e5644..92c3104a 100644 --- a/commands/events/neko-atsume-password.js +++ b/commands/events/neko-atsume-password.js @@ -15,6 +15,7 @@ module.exports = class NekoAtsumePasswordCommand extends Command { group: 'events', memberName: 'neko-atsume-password', description: 'Responds with today\'s Neko Atsume password.', + details: `**Locales:** ${locales.join(', ')}`, credit: [ { name: 'Neko Atsume: Kitty Collector', diff --git a/commands/random-res/news.js b/commands/random-res/news.js index f507a0b3..e3ac2c53 100644 --- a/commands/random-res/news.js +++ b/commands/random-res/news.js @@ -18,7 +18,6 @@ module.exports = class NewsCommand extends SubredditCommand { prompt: `What subreddit do you want to get news from? Either ${list(subreddits, 'or')}.`, type: 'string', oneOf: subreddits, - default: () => subreddits[Math.floor(Math.random() * subreddits.length)], parse: subreddit => subreddit.toLowerCase() } ] diff --git a/commands/voice/soundboard.js b/commands/voice/soundboard.js index c122cc1b..c962643e 100644 --- a/commands/voice/soundboard.js +++ b/commands/voice/soundboard.js @@ -12,6 +12,7 @@ module.exports = class SoundboardCommand extends Command { group: 'voice', memberName: 'soundboard', description: 'Plays a sound in a voice channel.', + details: `**Sounds:** ${soundsChoice.join(', ')}`, guildOnly: true, throttling: { usages: 1, diff --git a/package.json b/package.json index d4e0b8b2..96762938 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "123.0.1", + "version": "123.0.2", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {