aboutsummaryrefslogtreecommitdiff
path: root/src/modules/commands/admins/ignore.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2020-10-27 13:46:50 -0700
committerFuwn <[email protected]>2020-10-27 13:46:50 -0700
commit7df153d4dd8279d1187deb8ad7cd90813cae153b (patch)
tree2a5258b4eff8c79b0e349eaa15154b0b6ea1d1d9 /src/modules/commands/admins/ignore.rs
parentchore: change workflow name and step name (diff)
downloaddep-core-next-7df153d4dd8279d1187deb8ad7cd90813cae153b.tar.xz
dep-core-next-7df153d4dd8279d1187deb8ad7cd90813cae153b.zip
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
Diffstat (limited to 'src/modules/commands/admins/ignore.rs')
-rw-r--r--src/modules/commands/admins/ignore.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/commands/admins/ignore.rs b/src/modules/commands/admins/ignore.rs
index efafdac..a716a45 100644
--- a/src/modules/commands/admins/ignore.rs
+++ b/src/modules/commands/admins/ignore.rs
@@ -59,6 +59,7 @@ impl Command for IgnoreRemove {
let default = CommandOptions::default();
let options = CommandOptions {
desc: Some("Finally, I can see.".to_string()),
+ aliases: vec!["rm", "delete", "del"].iter().map(|e| e.to_string()).collect(),
usage: Some("<channel_resolvable>".to_string()),
example: Some("#general".to_string()),
min_args: Some(1),
@@ -99,6 +100,7 @@ impl Command for IgnoreList {
let default = CommandOptions::default();
let options = CommandOptions {
desc: Some("You want ME to tell YOU want channels I'm ignoring ?.".to_string()),
+ aliases: vec!["ls"].iter().map(|e| e.to_string()).collect(),
required_permissions: Permissions::MANAGE_GUILD,
max_args: Some(0),
..default