diff --git a/commands/random-res/chuck-norris.js b/commands/random-res/chuck-norris.js
new file mode 100644
index 00000000..051fc9cf
--- /dev/null
+++ b/commands/random-res/chuck-norris.js
@@ -0,0 +1,33 @@
+const Command = require('../../structures/Command');
+const snekfetch = require('snekfetch');
+
+module.exports = class ChuckNorrisCommand extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'chuck-norris',
+ aliases: ['chuck', 'norris'],
+ group: 'random-res',
+ memberName: 'chuck-norris',
+ description: 'Responds with a Chuck Norris quote.',
+ args: [
+ {
+ key: 'name',
+ prompt: 'What would you like the name to be?',
+ type: 'string',
+ default: 'Chuck'
+ }
+ ]
+ });
+ }
+
+ async run(msg, args) {
+ const { name } = args;
+ const { body } = await snekfetch
+ .get('http://api.icndb.com/jokes/random')
+ .query({
+ escape: 'javascript',
+ firstName: name
+ });
+ return msg.say(body.value.joke);
+ }
+};
diff --git a/html/carbonfeat.html b/html/carbonfeat.html
index 3a3978c7..69f28788 100644
--- a/html/carbonfeat.html
+++ b/html/carbonfeat.html
@@ -32,7 +32,7 @@
Random Cats, Dogs, VOCALOID Songs, and Xiao Pai Images!
8 Ball, Choose, Coin Flip, Magic Conch, Roll, and Member Roulette!
Waifu and Ship Rating!
- Random Compliments, Quotes, Fact Core Quotes, Fortunes, Names, and Roasts!
+ Random Compliments, Chuck Norris Jokes, Quotes, Fact Core Quotes, Fortunes, Names, and Roasts!
Roleplay Commands!
Search Various sites including:
diff --git a/html/discordbots.html b/html/discordbots.html
index 5adc1bef..e5f6fe79 100644
--- a/html/discordbots.html
+++ b/html/discordbots.html
@@ -29,7 +29,7 @@
- Random Cats, Dogs, VOCALOID Songs, and Xiao Pai Images!
- 8 Ball, Choose, Coin Flip, Magic Conch, Roll, and Member Roulette!
- Waifu and Ship Rating!
- - Random Compliments, Quotes, Fact Core Quotes, Fortunes, Names, and Roasts!
+ - Random Compliments, Chuck Norris Jokes, Quotes, Fact Core Quotes, Fortunes, Names, and Roasts!
- Roleplay Commands!
- Search Various sites including:
diff --git a/package.json b/package.json
index 25dc5d84..20df9a10 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
- "version": "27.7.1",
+ "version": "27.8.1",
"description": "Your personal server companion.",
"main": "Shard.js",
"scripts": {