diff --git a/src/commands/moderation_cmds.rs b/src/commands/moderation_cmds.rs index fb284e5..607231b 100644 --- a/src/commands/moderation_cmds.rs +++ b/src/commands/moderation_cmds.rs @@ -25,6 +25,8 @@ use crate::{ lazy_static! { static ref REGEX_CHANNEL: Regex = Regex::new(r#"^\s*<#(\d+)>\s*$"#).unwrap(); + static ref REGEX_ROLE: Regex = Regex::new(r#"<@&([0-9]+)>"#).unwrap(); + static ref REGEX_COMMANDS: Regex = Regex::new(r#"([a-z]+)"#).unwrap(); } #[command] @@ -142,3 +144,11 @@ async fn prefix(ctx: &Context, msg: &Message, args: String) -> CommandResult { Ok(()) } + +#[command] +#[supports_dm(false)] +#[permission_level(Restricted)] +async fn restrict(ctx: &Context, msg: &Message, args: String) -> CommandResult { + + Ok(()) +}