From 74723aaff6f77b1cb0b2e258ea391a86c9af37eb Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 9 Apr 2020 14:54:30 -0400 Subject: [PATCH] Add "Options" and "More Features" sections to the README --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 8effd0b5..2f0342a4 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ Xiao is a Discord bot coded in JavaScript with * [Mac](#mac) * [Ubuntu and other Debian-based systems](#ubuntu-and-other-debian-based-systems) - [Related Bots](#related-bots) +- [Options](#Options) - [Commands](#commands) * [Utility](#utility) * [Discord Information](#discord-information) @@ -43,6 +44,7 @@ Xiao is a Discord bot coded in JavaScript with * [Other](#other) * [Roleplay](#roleplay) * [README Generators](#readme-generators) +- [Other Features](#other-features) - [Licensing](#licensing) - [Credit](#credit) @@ -118,6 +120,16 @@ don't grant that permission. * [Rando Cardrissian](https://github.com/dragonfire535/rando-cardrissian) is a Cards Against Humanity bot, whose features were originally built into Xiao. +## Options + +Options in Xiao are configured using channel topics. Place the option +in the appropriate channel's topic to use it. + +* `` Disables leave messages (Place in the channel you recieve welcome messages in). +* `` Allows a channel to recieve phone calls from the `phone` command. +* `` Hides a channel from the `phone-book` command. +* `` Allows a channel to recieve portal messages from the `portal-send` command. + ## Commands Total: 382 @@ -563,6 +575,22 @@ Total: 382 * **generate-credit:** Generates the credit list for Xiao's README. (Owner-Only) * **generate-process-env:** Generates a backup list of Xiao's `process.env`. (Owner-Only) +## Other Features + +Some Xiao features aren't technically commands, but are part of Xiao +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 "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. + ## Licensing The bot is licensed under the GPL 3.0 license. See the file `LICENSE` for more