From df7640101bcf1a8d38ce3bab509e6ab796fa7190 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 1 Jul 2020 14:12:57 -0400 Subject: [PATCH] Remove suicide-hotline and kazuma-kazuma --- README.md | 9 +-------- commands/auto/kazuma-kazuma.js | 24 ------------------------ commands/auto/suicide-hotline.js | 28 ---------------------------- package.json | 2 +- 4 files changed, 2 insertions(+), 61 deletions(-) delete mode 100644 commands/auto/kazuma-kazuma.js delete mode 100644 commands/auto/suicide-hotline.js diff --git a/README.md b/README.md index 48245d8d..e759c1a0 100644 --- a/README.md +++ b/README.md @@ -231,7 +231,7 @@ in the appropriate channel's topic to use it. ## Commands -Total: 515 +Total: 513 ### Utility: @@ -398,9 +398,7 @@ Total: 515 ### 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. ### Events: @@ -822,9 +820,7 @@ nonetheless. - In Xiao's home server, Xiao posts a random meme from Reddit every hour using a webhook. - Some commands will automatically run when a certain phrase is said in any message, regardless of if the command itself was called or not. These are: * Saying "can you not" or "can u not" runs `can-you-not`. - * Saying "Kazuma, Kazuma!" runs `kazuma-kazuma`. * Saying "no u" runs `no-u`. - * Saying "kms", "kill myself", or using a custom emote named "kms" runs `suicide-hotline`. * Saying "(╯°□°)╯︵ ┻━┻" runs `unflip`. * Saying "r/subredditnamehere" runs `subreddit`. Obviously, replace "subbreditnamehere" with the name of the subreddit. * Starting a message with "clevs" or "cleverbot" runs `cleverbot` using the text after either word as the text. @@ -1220,7 +1216,6 @@ here. * axis-cult (Original Anime) * axis-cult-sign-up (Original Anime) * hat (Megumin Hat Original Anime) - * kazuma-kazuma (Original Anime) - [Latlmes](https://www.latlmes.com/) * latlmes (API) - [LMGTFY](https://lmgtfy.com/) @@ -1298,8 +1293,6 @@ here. * dec-talk ([Original "Moonbase Alpha" Game](https://store.steampowered.com/app/39000/Moonbase_Alpha/)) * gravity ([Planet Gravity Data](https://nssdc.gsfc.nasa.gov/planetary/factsheet/planet_table_ratio.html)) * nasa ([NASA Image and Video Library API](https://api.nasa.gov/)) -- [National Suicide Prevention Lifeline](https://suicidepreventionlifeline.org/) - * suicide-hotline (Phone Number) - [nauticalspongeinc](https://www.fontspace.com/nauticalspongeinc) * spongebob-time-card ([Spongeboytt1 Font](https://www.fontspace.com/spongeboytt1-font-f29761)) - [NBC](https://www.nbc.com/) diff --git a/commands/auto/kazuma-kazuma.js b/commands/auto/kazuma-kazuma.js deleted file mode 100644 index 3df49cad..00000000 --- a/commands/auto/kazuma-kazuma.js +++ /dev/null @@ -1,24 +0,0 @@ -const Command = require('../../structures/commands/AutoReply'); - -module.exports = class KazumaKazumaCommand extends Command { - constructor(client) { - super(client, { - name: 'kazuma-kazuma', - group: 'auto', - memberName: 'kazuma-kazuma', - description: 'Hai, Kazuma desu.', - patterns: [/kazuma,? kazuma!?/i], - credit: [ - { - name: 'KONOSUBA -God\'s blessing on this wonderful world!', - url: 'http://konosuba.com/', - reason: 'Original Anime' - } - ] - }); - } - - generateText() { - return 'Hai, Kazuma desu.'; - } -}; diff --git a/commands/auto/suicide-hotline.js b/commands/auto/suicide-hotline.js deleted file mode 100644 index f49dc1b8..00000000 --- a/commands/auto/suicide-hotline.js +++ /dev/null @@ -1,28 +0,0 @@ -const Command = require('../../structures/commands/AutoReply'); - -module.exports = class SuicideHotlineCommand extends Command { - constructor(client) { - super(client, { - name: 'suicide-hotline', - aliases: ['kms', 'kill-myself'], - 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], - reply: true, - credit: [ - { - name: 'National Suicide Prevention Lifeline', - url: 'https://suicidepreventionlifeline.org/', - reason: 'Phone Number' - } - ] - }); - } - - generateText(fromPattern) { - const text = 'Call 1-800-273-8255 for the National Suicide Prevention Lifeline.'; - if (!fromPattern) return text; - return `Don't say that. Get help. ${text}`; - } -}; diff --git a/package.json b/package.json index c8e6aa36..2777b92b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "117.11.1", + "version": "118.0.0", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {