Commit Graph

10 Commits (c3c3814d777c48d8263396edf1743516ccbf84a3)

Author SHA1 Message Date
Joey Hines c3c3814d77
Misc cleanup
ci/woodpecker/push/woodpecker Pipeline was successful Details
+ info now trys to find the "best match"
+ report_out_of_stock no longer matches all items with the same sub string
+ Added type to loc strings in the bot
+ clippy + fmt
2022-01-08 16:05:56 -07:00
Joey Hines 5fcb021fe0
Tweak discord formatting
ci/woodpecker/push/woodpecker Pipeline was successful Details
+ Created Formatter to handle geoffrey formatting
+ using Serenity's discord message builder to help with formatting
+ Added message sanitation
+ Clippy + Fmt
2022-01-08 15:20:42 -07:00
Joey Hines a8f5f5d87b
Added global settings
ci/woodpecker/push/woodpecker Pipeline was successful Details
+ Usedful for the impls to retrieve settings without having to redefine them in each project
+ Start of models api
+ Bunch of small tweaks
+ clippy + fmt
2022-01-08 12:35:55 -07:00
Joey Hines 51d6ffb7be
Added report_out_of_stock command to bot
ci/woodpecker/push/woodpecker Pipeline was successful Details
+ Added params to the build_response function
+ Updated some commands with more helpful responses
+ Fixed issue with v4 migration
+ clippy + fmt
2022-01-06 18:49:49 -07:00
Joey Hines 928e59a700
Added restock command
continuous-integration/woodpecker the build was successful Details
+ Discord command has not been tested
+ Clippy + Fmt
2021-12-26 21:36:32 -06:00
Joey Hines d9a3a05067
Added 'remove_item' command
continuous-integration/woodpecker the build was successful Details
+ Allows a user to remove an item from a shop
+ Clippy + fmt
2021-12-19 14:55:59 -07:00
Joey Hines 18a4373313
Added 'edit' commands
continuous-integration/woodpecker the build was successful Details
+ Allows a location's name or position to be updated
+ Added a bots commands for it, two for now as subcommands are not working right
+ Logging fix
+ Updated return messages for some bot commands
2021-12-19 14:06:56 -07:00
Joey Hines 3aaaf39913
Improved bot command handling
+ Created CommandRunner struct to house all the bot commands
+ Streamlines registering app commands and dispatching commands
+ Bit of hecky rust that may need to be cleaned up
+ Clippy + Fmt
2021-12-12 19:30:38 -07:00
Joey Hines 2ff4d14e3f
Added `set_portal` command to bot
+ Added display_portal formatter
2021-12-12 12:41:09 -07:00
Joey Hines a655146c81
Bot code cleanup
+ Added functions for parsing Application Command options into different types
+ Added formatters for common message formats
+ Clippy + Fmt
2021-12-03 20:42:57 -07:00