silly goober bot

feat: more commands for the app

+20 -4
+10 -2
src/commands/fun/bottom.rs
··· 4 4 use crate::types::Context; 5 5 6 6 /// Translate your words for the bottoms to understand 7 - #[poise::command(slash_command, guild_only)] 7 + #[poise::command( 8 + slash_command, 9 + install_context = "Guild|User", 10 + interaction_context = "Guild|BotDm|PrivateChannel" 11 + )] 8 12 pub async fn bottomify(ctx: Context<'_>, #[description = "text"] input: String) -> Result<()> { 9 13 let out = bottom::encode_string(&input); 10 14 ··· 13 17 } 14 18 15 19 /// Translate your words for the tops and normies to understand 16 - #[poise::command(slash_command, guild_only)] 20 + #[poise::command( 21 + slash_command, 22 + install_context = "Guild|User", 23 + interaction_context = "Guild|BotDm|PrivateChannel" 24 + )] 17 25 pub async fn topify(ctx: Context<'_>, #[description = "text"] input: String) -> Result<()> { 18 26 const MAX_LEN: usize = 1994; 19 27 const WRAP: &str = "```";
+5 -1
src/commands/fun/kittysay.rs
··· 4 4 use crate::types::Context; 5 5 6 6 /// Make the kitty say something :3 7 - #[poise::command(slash_command, guild_only)] 7 + #[poise::command( 8 + slash_command, 9 + install_context = "Guild|User", 10 + interaction_context = "Guild|BotDm|PrivateChannel" 11 + )] 8 12 pub async fn kittysay( 9 13 ctx: Context<'_>, 10 14 #[description = "say"] input: String,
+5 -1
src/commands/misc/crates.rs
··· 49 49 url: String, 50 50 } 51 51 52 - #[poise::command(slash_command)] 52 + #[poise::command( 53 + slash_command, 54 + install_context = "Guild|User", 55 + interaction_context = "Guild|BotDm|PrivateChannel" 56 + )] 53 57 pub async fn crates(ctx: Context<'_>, #[description = "crate"] crt: String) -> Result<()> { 54 58 ctx.defer().await?; 55 59