feat: Added quest answers
- Added field pending_answers to DiscordConfig - discord: added /answer
This commit is contained in:
parent
520992187d
commit
3f7e6313b0
6 changed files with 82 additions and 13 deletions
|
|
@ -2,9 +2,7 @@ use std::str::FromStr;
|
|||
|
||||
use squad_quest::{SquadObject, quest::{Quest, QuestDifficulty}};
|
||||
use toml::value::Date;
|
||||
use crate::{Context, Error};
|
||||
|
||||
const ERROR_MSG: &str = "Server error :(";
|
||||
use crate::{Context, Error, commands::ERROR_MSG};
|
||||
|
||||
#[poise::command(
|
||||
prefix_command,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue