Commit graph

20 commits

Author SHA1 Message Date
81a9ec0c50 feat: Added message context to strings.quest.publish 2025-12-21 11:08:08 +03:00
46af205aef style: Fixed several minor things in text
- Changed error in /move to CannotReach instead of RoomNotFound
2025-12-19 14:17:02 +03:00
cc916c06ce feat: Implemented daily timer
- Bump version to 0.10.0
- Added /timer command
2025-12-18 15:58:18 +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
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
38e3f149b1 feat: Added /quest delete command
- Also fixed formatting and sorting in /scoreboard
2025-12-11 17:27:19 +03:00
213ecca8b9 feat(discord): Added /scoreboard command 2025-12-11 15:57:00 +03:00
78e7d9bf23 feat(discord): Added /social undo command 2025-12-11 15:19:06 +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
85e8070daa feat: Added publish command
- /quest update also updates quest message if published
2025-12-11 13:06:21 +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