this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(botinfo): make avaible as a user command

isabel 466187e4 973c288d

+6 -2
+6 -2
src/commands/bot/bot.rs
··· 1 1 use crate::types::Context; 2 2 use color_eyre::eyre::Result; 3 3 use poise::{ 4 - CreateReply, 5 4 serenity_prelude::{CreateEmbed, CreateEmbedAuthor}, 5 + CreateReply, 6 6 }; 7 7 8 8 /// Displays information about the bot 9 - #[poise::command(slash_command)] 9 + #[poise::command( 10 + slash_command, 11 + install_context = "Guild|User", 12 + interaction_context = "Guild|BotDm|PrivateChannel" 13 + )] 10 14 pub async fn botinfo(ctx: Context<'_>) -> Result<()> { 11 15 let rev = option_env!("BUILD_REV").unwrap_or("unknown"); 12 16