Commit Graph

8 Commits (51d6ffb7be24777ba2d2bb2a277b612d1075e31e)

Author SHA1 Message Date
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 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 c45bb592db
Added logging to bot
+ Cleaned up error handling to make it easier to handle multiple error levels
2021-12-12 11:55: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
Joey Hines 8d858bdfd3
Refactored GeoffreyBot module layout 2021-12-03 19:33:29 -07:00
Joey Hines 7fb4054cdb
Rough first pass of a bot
+ Uses application commands from discord
+ Tried to follow a similar structure to how the API handles commands
+ Implements add_location, add_item, selling, and find
+ Needs a lot of work lol
+ clippy + fmt
2021-11-30 21:13:56 -07:00