add simple mux command

This commit is contained in:
2022-02-26 03:05:34 +05:30
parent e503f60bc3
commit d5343202aa
9 changed files with 200 additions and 4 deletions

9
general.rs Normal file
View 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(())
}