command docs
This commit is contained in:
parent
f16983540a
commit
c946ae541f
@ -94,6 +94,7 @@ pub async fn event_handler(
|
||||
}
|
||||
}
|
||||
|
||||
/// List online players
|
||||
#[poise::command(slash_command)]
|
||||
pub async fn players(
|
||||
ctx: poise::Context<'_, Data, serenity::Error>,
|
||||
@ -126,6 +127,7 @@ pub async fn players(
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Find out how to join!
|
||||
#[poise::command(slash_command)]
|
||||
pub async fn join(ctx: poise::Context<'_, Data, serenity::Error>) -> Result<(), serenity::Error> {
|
||||
let cache = ctx.data().cached_reply.lock().await;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user