feat: Initialized Discord bot
- Bump version to 0.6.0 - discord: Added /quest list - discord: Added /quest create (admin)
This commit is contained in:
parent
2960b6dfc4
commit
5fa2ac330f
8 changed files with 2334 additions and 12 deletions
12
discord/src/commands/mod.rs
Normal file
12
discord/src/commands/mod.rs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
//use poise::{CreateReply, serenity_prelude as serenity};
|
||||
|
||||
use crate::{Context, Error};
|
||||
|
||||
pub mod quest;
|
||||
|
||||
|
||||
#[poise::command(prefix_command)]
|
||||
pub async fn register(ctx: Context<'_>) -> Result<(), Error> {
|
||||
poise::builtins::register_application_commands_buttons(ctx).await?;
|
||||
Ok(())
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue