mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Remove some other auto-reply stuff
This commit is contained in:
@@ -376,6 +376,7 @@ Total: 513
|
||||
|
||||
### Single Response:
|
||||
|
||||
* **can-you-not:** Can YOU not?
|
||||
* **cave:** Sends a Minecraft cave that blends in with the chat.
|
||||
* **dark-light:** Determines whether you use dark or light theme.
|
||||
* **eat-pant:** Eat pant.
|
||||
@@ -397,7 +398,6 @@ Total: 513
|
||||
|
||||
### Automatic Response:
|
||||
|
||||
* **can-you-not:** Can YOU not?
|
||||
* **no-u:** no u
|
||||
* **unflip:** Unflips a flipped table.
|
||||
|
||||
@@ -819,11 +819,8 @@ nonetheless.
|
||||
- Leave messages are automatically sent to any channel that recieves welcome messages. These can be turned off with [an option](#options).
|
||||
- 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 "no u" runs `no-u`.
|
||||
* 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.
|
||||
|
||||
## Licensing
|
||||
|
||||
|
||||
@@ -27,8 +27,7 @@ module.exports = class CleverbotCommand extends Command {
|
||||
prompt: 'What do you want to say to Cleverbot?',
|
||||
type: 'string'
|
||||
}
|
||||
],
|
||||
patterns: [/^(clevs|cleverbot) (.+)/i]
|
||||
]
|
||||
});
|
||||
|
||||
this.convos = new Map();
|
||||
|
||||
@@ -9,7 +9,6 @@ module.exports = class SubredditCommand extends SubredditCommandBase {
|
||||
memberName: 'subreddit',
|
||||
description: 'Responds with a random post from a subreddit.',
|
||||
clientPermissions: ['EMBED_LINKS'],
|
||||
patterns: [/^r\/(.+)/i],
|
||||
getIcon: true,
|
||||
args: [
|
||||
{
|
||||
|
||||
@@ -1,19 +1,17 @@
|
||||
const Command = require('../../structures/commands/AutoReply');
|
||||
const Command = require('../../structures/Command');
|
||||
|
||||
module.exports = class CanYouNotCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'can-you-not',
|
||||
aliases: ['can-u-not'],
|
||||
group: 'auto',
|
||||
group: 'single',
|
||||
memberName: 'can-you-not',
|
||||
description: 'Can YOU not?',
|
||||
patterns: [/can (you|u) not/i],
|
||||
reply: true
|
||||
});
|
||||
}
|
||||
|
||||
generateText() {
|
||||
return 'Can YOU not?';
|
||||
run(msg) {
|
||||
return msg.say('Can YOU not?');
|
||||
}
|
||||
};
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "118.0.0",
|
||||
"version": "119.0.0",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user