mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Remove suicide-hotline and kazuma-kazuma
This commit is contained in:
@@ -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/)
|
||||
|
||||
@@ -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.';
|
||||
}
|
||||
};
|
||||
@@ -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}`;
|
||||
}
|
||||
};
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "117.11.1",
|
||||
"version": "118.0.0",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user