Commit graph

9 commits

Author SHA1 Message Date
d188bba16e feat: Implemented guild check
- Also added more error logging
2025-12-24 17:46:22 +03:00
c22787792d feat: Added API for web map in discord bot
- Bump version to 0.11.0
- Added data table to quests, accounts and rooms
- Discord bot now adds "avatar" and "name" data to accounts on init
- Added CLI "map data" command
2025-12-24 14:30:40 +03:00
60aa5fcb34 feat(discord): Commands description
- Added english commands description
- Added russian commands description
- Changed override option on /quest update to reset dates
- Commented out all deadline functionality
2025-12-18 13:33:42 +03:00
787118309a feat(discord): Moved most strings to Strings
- Added Error::AccountIsSelf variant
- /balance give to self now returns error
2025-12-17 14:43:40 +03:00
4ba57b925a 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"
2025-12-15 13:26:37 +03:00
99812c5d7c feat: Proper error handling
- Bump version to 0.8.0
- Added discord error struct
- All errors now implement std::error::Error
- Implemented error handler instead of relying on default
- Fixed bug where you could send answer on a completed quest
2025-12-12 16:52:31 +03:00
fb9fcfe6d7 feat: Account initialization
- discord: /answer now DM-s user and updated user balance
2025-12-10 16:59:28 +03:00
1ae57ad358 feat!: implemented answer buttons
- Also you can /init without restarting bot

BREAKING CHANGE: Changed type of Data::discord to
Arc<Mutex<DiscordConfig>, removed field pending_answers from
DiscordConfig
2025-12-10 15:48:43 +03:00
3f7e6313b0 feat: Added quest answers
- Added field pending_answers to DiscordConfig
- discord: added /answer
2025-12-10 13:06:56 +03:00