···7/// Make the kitty say something :3
8#[poise::command(slash_command, guild_only)]
9pub async fn kittysay(ctx: Context<'_>, #[description = "speak"] input: String) -> Result<()> {
10- print!("Please enter your message: ");
11-12 let re = Regex::new(r"[^:a-zA-Z0-9\s]").unwrap();
13 let sanitized_input = re.replace_all(&input, "").to_string();
14
···7/// Make the kitty say something :3
8#[poise::command(slash_command, guild_only)]
9pub async fn kittysay(ctx: Context<'_>, #[description = "speak"] input: String) -> Result<()> {
0010 let re = Regex::new(r"[^:a-zA-Z0-9\s]").unwrap();
11 let sanitized_input = re.replace_all(&input, "").to_string();
12
+1-3
src/commands/mod.rs
···1pub mod bot;
2-pub mod kittysay;
3-pub mod ping;
4pub mod user;
5-pub mod dice;