From 7df153d4dd8279d1187deb8ad7cd90813cae153b Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 27 Oct 2020 13:46:50 -0700 Subject: feat, annotate, chore (desc) feat: - feature request - github organization - change up the `uwu!` response - add parse and send goodbye to utils - add goodbye stuff to config model - add aliases to ignore remove and list - add alias to russian roulette annotate: - framework.rs chore: - change command group names - add discriminator to ready log - add period to fern log output - change up order of server info command + add stuff metnioned above other: - comment out config goodbye --- src/modules/commands/admins/config.rs | 132 +++++++++++++++--------------- src/modules/commands/admins/ignore.rs | 2 + src/modules/commands/general/fun.rs | 5 +- src/modules/commands/general/utilities.rs | 14 ++-- 4 files changed, 77 insertions(+), 76 deletions(-) (limited to 'src/modules') diff --git a/src/modules/commands/admins/config.rs b/src/modules/commands/admins/config.rs index a26fc3d..43e2215 100644 --- a/src/modules/commands/admins/config.rs +++ b/src/modules/commands/admins/config.rs @@ -505,73 +505,73 @@ impl Command for ConfigWelcome { } } -pub struct ConfigGoodbye; -impl Command for ConfigGoodbye { - fn options(&self) -> Arc { - let default = CommandOptions::default(); - let options = CommandOptions { - // desc: Some("Change welcome message settings.\nOption is one of enable, disable, channel, message, type and the respective values should be none, none, channel_resolvable, desired message.\nType designates if the message is plain or embed. Anything other than embed will result in plain.".to_string()), - desc: Some("People leaving you ? At least make it cool and custom.\n\nOptions:\n`enable` - none.\n`disable` - none.\n`channel` - `channel_resolvable` (Mentionable).\n`message` - Your desired welcome message.\n`type` - `plain` or `embed`.".to_string()), - usage: Some("