add simple mux command
This commit is contained in:
9
general.rs
Normal file
9
general.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
use serenity::framework::standard::{macros::command, CommandResult};
|
||||
use serenity::model::prelude::*;
|
||||
use serenity::prelude::*;
|
||||
|
||||
#[command]
|
||||
pub async fn ping(ctx: &Context, msg: &Message) -> CommandResult {
|
||||
msg.reply(ctx, "Pong!").await?;
|
||||
Ok(())
|
||||
}
|
Reference in New Issue
Block a user