Commit Graph

4 Commits (c3c3814d777c48d8263396edf1743516ccbf84a3)

Author SHA1 Message Date
Joey Hines c6ec8467c1
report_out_of_stock command + new query system
continuous-integration/woodpecker the build was successful Details
+ report_out_of_stock can be used by a when an item is not in stock in a shop
+ Added new query system
  + Impl for both LocationDB and Player for now
  + Goal is to increase code re-use without a million functions for different queries
  + Should be expanded to more models
  + I Should really just rip out the DB and make it a generic thing
+ Clippy + fmt
2021-12-30 21:48:33 -06: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 3711e7011c
Refactored parameter handling + added delete command
+ CommandRequest is now a struct that contains a generic parameter for the type
+ This streamlines adding new command parameters and reduces duplicate code
+ Added delete commands
2021-12-17 20:03:15 -07:00
Joey Hines 199516f3cc
Added set_portal to the API
+ Bumped DB version to 3
+ Renamed "tunnel" to "portal" on the location models
+ Added a new migration
+ Cargo + Clippy
2021-12-07 20:33:25 -07:00