Commit Graph

11 Commits (7af3bab4865543b8316892ae0c59f1b364ab2216)

Author SHA1 Message Date
Joey Hines 7af3bab486
Added basic listener
+ Only support chat events now
+ Created a listener for host message snooping
+ Clippy + fmt
2023-01-08 13:44:11 -07:00
Joey Hines 9a91a16e0d Message router refactor
+ Created the WoxlfMessage struct to streamline interface
+ Message tasks are now joined at once instead of sequentially
+ Clippy + fmt
2023-01-06 05:07:03 +00:00
Joey Hines 3c219f5bff Initial refactor of message handling
+ Split all message handling into message_router.rs
+ Added whisper command
+ Updated serenity version
+ Fmt, but clippy failing
2023-01-06 05:07:03 +00:00
Joey Hines 2aec084712
Keep dead player channels
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
+ Instead of deleting channels, players are marked dead so they can't interact with the game
+ Players are listed as dead in the $players command
+ All player channels are cleaned up at the end of the game
+ clippy + fmt
2022-06-24 21:15:06 -06:00
Joey Hines 0f70ac5f51
Ensure profile pics are random
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
+ Clippy + fmt
2022-06-19 14:55:52 -06:00
Joey Hines dbaa622eb7
Fix typo
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
2022-05-29 13:15:09 -06:00
Joey Hines 3daa20db9a
Added test_theme command
ci/woodpecker/push/woodpecker Pipeline was successful Details
+ Allows you to see all the messages in a theme easily
+ Clippy + fmt
2022-05-29 13:14:30 -06:00
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 2e5c102887
Block users from using external emoji (Fixes #2)
+ Scan incoming messages for emoji, if they are from an external server they are blocked
+ clippy + fmt
2022-05-15 11:54:42 -06:00
Joey Hines 71b8bc6e20
Initial Webhook Support
+ Host messages still come through the bot instead of webhooks
+ Each player channel gets one webhook that all messages come through
+ The username is set per message
+ Currently, profile pics are the default
+ clippy + fmt
2022-03-20 11:42:04 -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