feat(discord): Added /balance {give,set} commands
- Also, you cannot /answer to unpublished quest - Also, changed /scoreboard to print name instead of mentioning - Also, made --config an option, defaulting to "cfg/config.toml"
This commit is contained in:
parent
99812c5d7c
commit
4ba57b925a
6 changed files with 111 additions and 10 deletions
|
|
@ -39,7 +39,9 @@ fn make_quest_message_content(quest: &Quest) -> String {
|
|||
#[poise::command(
|
||||
prefix_command,
|
||||
slash_command,
|
||||
guild_only,
|
||||
subcommands("list", "create", "update", "publish", "delete"),
|
||||
required_permissions = "ADMINISTRATOR",
|
||||
)]
|
||||
pub async fn quest(
|
||||
_ctx: Context<'_>,
|
||||
|
|
@ -50,6 +52,8 @@ pub async fn quest(
|
|||
#[poise::command(
|
||||
prefix_command,
|
||||
slash_command,
|
||||
guild_only,
|
||||
required_permissions = "ADMINISTRATOR",
|
||||
)]
|
||||
pub async fn list(
|
||||
ctx: Context<'_>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue