ReOrg: TODO: Init per guild join timer

This commit is contained in:
2023-03-03 17:30:00 -05:00
parent 5bb7a558f4
commit 4106f2f99c
4 changed files with 56 additions and 55 deletions

11
src/commands/ping.rs Normal file
View File

@@ -0,0 +1,11 @@
use serenity::framework::standard::macros::command;
use serenity::framework::standard::CommandResult;
use serenity::model::channel::Message;
use serenity::prelude::Context;
#[command]
pub async fn ping(ctx: &Context, msg: &Message) -> CommandResult {
msg.channel_id.say(&ctx.http, "pong!").await?;
Ok(())
}