From 2d7b8bb47f8da5249b1c68c9398266862f97fa02 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 27 Feb 2020 11:35:57 -0500 Subject: [PATCH] Automatic Response group --- README.md | 13 ++++++++----- Xiao.js | 1 + commands/{single => auto}/can-you-not.js | 2 +- commands/{single => auto}/kazuma-kazuma.js | 2 +- commands/{single => auto}/no-u.js | 2 +- commands/{single => auto}/suicide-hotline.js | 2 +- commands/{single => auto}/unflip.js | 2 +- package.json | 2 +- 8 files changed, 15 insertions(+), 11 deletions(-) rename commands/{single => auto}/can-you-not.js (94%) rename commands/{single => auto}/kazuma-kazuma.js (96%) rename commands/{single => auto}/no-u.js (94%) rename commands/{single => auto}/suicide-hotline.js (97%) rename commands/{single => auto}/unflip.js (94%) diff --git a/README.md b/README.md index 7eb48691..f47b051e 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,6 @@ Total: 362 ### Single Response: -* **can-you-not:** Can YOU not? * **dark-light:** Determines whether you use dark or light theme. * **eat-pant:** Eat pant. * **eggs-get-laid:** Sends the ultimate roast. @@ -190,16 +189,20 @@ Total: 362 * **isnt-joke:** Isn't joke... * **its-joke:** It's joke! * **just-do-it:** Sends a link to the "Just Do It!" motivational speech. -* **kazuma-kazuma:** Hai, Kazuma desu. * **lenny:** Responds with the lenny face. -* **no-u:** no u * **spam:** Responds with a picture of Spam. -* **suicide-hotline:** Responds with the phone number for the Suicide Hotline. * **tableflip:** Flips a table... With animation! -* **unflip:** Unflips a flipped table. * **wynaut:** Why not? Wynaut? * **yoff:** Posts a picture that truly defines modern art. +### Automatic Response: + +* **can-you-not:** Can YOU not? +* **kazuma-kazuma:** Hai, Kazuma desu. +* **no-u:** no u +* **suicide-hotline:** Responds with the phone number for the Suicide Hotline. +* **unflip:** Unflips a flipped table. + ### Seeded Randomizers: * **butt:** Determines a user's butt quality. diff --git a/Xiao.js b/Xiao.js index 949aeb20..b6f78d82 100644 --- a/Xiao.js +++ b/Xiao.js @@ -19,6 +19,7 @@ client.registry ['info', 'Discord Information'], ['random', 'Random Response'], ['single', 'Single Response'], + ['auto', 'Automatic Response'], ['seeded', 'Seeded Randomizers'], ['events', 'Events'], ['search', 'Search'], diff --git a/commands/single/can-you-not.js b/commands/auto/can-you-not.js similarity index 94% rename from commands/single/can-you-not.js rename to commands/auto/can-you-not.js index 79c50341..3035155d 100644 --- a/commands/single/can-you-not.js +++ b/commands/auto/can-you-not.js @@ -5,7 +5,7 @@ module.exports = class CanYouNotCommand extends Command { super(client, { name: 'can-you-not', aliases: ['can-u-not'], - group: 'single', + group: 'auto', memberName: 'can-you-not', description: 'Can YOU not?', patterns: [/can (you|u) not/i] diff --git a/commands/single/kazuma-kazuma.js b/commands/auto/kazuma-kazuma.js similarity index 96% rename from commands/single/kazuma-kazuma.js rename to commands/auto/kazuma-kazuma.js index d5c9260b..9ddd3427 100644 --- a/commands/single/kazuma-kazuma.js +++ b/commands/auto/kazuma-kazuma.js @@ -4,7 +4,7 @@ module.exports = class KazumaKazumaCommand extends Command { constructor(client) { super(client, { name: 'kazuma-kazuma', - group: 'single', + group: 'auto', memberName: 'kazuma-kazuma', description: 'Hai, Kazuma desu.', patterns: [/kazuma,? kazuma!?/i], diff --git a/commands/single/no-u.js b/commands/auto/no-u.js similarity index 94% rename from commands/single/no-u.js rename to commands/auto/no-u.js index a5bb19cf..3d9b1609 100644 --- a/commands/single/no-u.js +++ b/commands/auto/no-u.js @@ -5,7 +5,7 @@ module.exports = class NoUCommand extends Command { super(client, { name: 'no-u', aliases: ['no-you'], - group: 'single', + group: 'auto', memberName: 'no-u', description: 'no u', patterns: [/^n+o+ u+$/i] diff --git a/commands/single/suicide-hotline.js b/commands/auto/suicide-hotline.js similarity index 97% rename from commands/single/suicide-hotline.js rename to commands/auto/suicide-hotline.js index c74ebdd1..7b6e394c 100644 --- a/commands/single/suicide-hotline.js +++ b/commands/auto/suicide-hotline.js @@ -5,7 +5,7 @@ module.exports = class SuicideHotlineCommand extends Command { super(client, { name: 'suicide-hotline', aliases: ['kms', 'kill-myself'], - group: 'single', + group: 'auto', memberName: 'suicide-hotline', description: 'Responds with the phone number for the Suicide Hotline.', patterns: [/\bkms\b/i, /\b(kill myself)\b/i, /<:kms:(.+)>/i], diff --git a/commands/single/unflip.js b/commands/auto/unflip.js similarity index 94% rename from commands/single/unflip.js rename to commands/auto/unflip.js index 5935f635..d26ee731 100644 --- a/commands/single/unflip.js +++ b/commands/auto/unflip.js @@ -4,7 +4,7 @@ module.exports = class UnflipCommand extends Command { constructor(client) { super(client, { name: 'unflip', - group: 'single', + group: 'auto', memberName: 'unflip', description: 'Unflips a flipped table.', patterns: [/\(╯°□°)╯︵ ┻━┻/i] diff --git a/package.json b/package.json index b56c8c42..acd1e6e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "110.9.2", + "version": "110.9.3", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {