Commit Graph

6 Commits (230930a23c56067d3ad95c1d1bad0c2272b7418c)

Author SHA1 Message Date
Joey Hines 230930a23c
Added config for themes. Fixes #1
* WOxlf now supports a number of game themes
 * Each theme can have custom messages, profile pics, phrasing, etc
 * Messages are defined as tera templates
* Couple small improvements
+ Clippy + fmt
2022-05-28 16:31:41 -06:00
Joey Hines ea0be5c708
Added profile pic support + fixed an issue with webhook serailization
+ Added imgur module to handle interacting with the imgur api
+ Users now get a random profile pic from an imgur album
+ Switched to using webhook ids instead of storing the full webhook in toml, serenity does not seem to like the toml deserialization
2022-03-20 17:42:50 -06:00
Joey Hines 0baf273237
Improved message handling
+ Messages broadcast to all channels are now all started in "parallel"
+ This should improve message times to all channels, especially when there are many players
+ Start of the logic needed for having multiple deputy bots and one chief bot
+ clippy + fmt
2022-03-19 21:37:05 -06:00
Joey Hines 0796f0be21
General cleanup after the first game
+ Randomized codename order obscuring players more
+ Added better error handling code
+ Support hour + minute time increments
+ Refactored layout to be more clear
+ clippy + fmt
2022-03-19 21:12:38 -06:00
Joey Hines e72d603149
Added commands + persistence
+ `say`: used by the host to speak in the game chat
+ `end`: ends the game and cleans up
+ `broadcast`: Send an important game message that that is pinned in each channel
+ Persistent allows games to continue across bot restarts
+ clippy + fmt
2022-03-06 10:03:49 -07:00
Joey Hines fd878c3721
Initial commit 2022-03-05 14:35:02 -07:00