use serenity::client::Context; use serenity::framework::standard::CommandResult; use serenity::framework::standard::macros::command; use serenity::model::channel::Message; #[command] #[description("Simple ping test command")] #[usage("ping")] #[example("ping")] async fn ping(ctx: &Context, msg: &Message) -> CommandResult { msg.reply(ctx, "Pong!").await?; Ok(()) }