Commit graph

12 commits

Author SHA1 Message Date
aec4ef8339 feat(discord)!: Added string formatter
- Added string formatter
- Added Strings struct for passing strings from file
- Refactored /info and /quest * to use formatter

BREAKING CHANGE: Changed DiscordConfig fields
2025-12-16 16:42:18 +03:00
b6ea2d8958 feat: Completed commands list
- Added MapError::CannotReach variant
- Updated Map::unlock_room_for_account to check reachableness
- Added /info command
- Added /unlock command
- Added /move command
- Added /reset command
2025-12-15 15:19:07 +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
213ecca8b9 feat(discord): Added /scoreboard command 2025-12-11 15:57:00 +03:00
8453de086a feat(discord): Added /social commands
- Added /social msg to send messages
- Added /social edit to edit sent messages
2025-12-11 15:00:55 +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
520992187d feat: Implementation config
- Bump version to 0.7.0
- Added Config::init_path
- Added Error::IsNotImplemented
- discord: added implementation config init/load
- discord: added /init
- discord: added /quest update
2025-12-09 21:15:50 +03:00
b92eaa1241 feat: Added DiscordConfig for future usage
- Added crate::error::Error::IsNotImplemented
- Added Config::full_impl_path
- Added Config::discord_impl for discord crate
2025-12-09 16:07:41 +03:00
5fa2ac330f feat: Initialized Discord bot
- Bump version to 0.6.0
- discord: Added /quest list
- discord: Added /quest create (admin)
2025-12-08 16:29:33 +03:00