Commit Graph

7 Commits (a5e1a275e846038789eed31a600c904c61eec79a)

Author SHA1 Message Date
Joey Hines a5e1a275e8
Message router refactor
+ Created the WoxlfMessage struct to streamline interface
+ Message tasks are now joined at once instead of sequentially
+ Clippy + fmt
2023-01-05 22:05:13 -07:00
Joey Hines ca80846e0d
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-03 20:06:56 -07: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 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 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 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 673d5b56f0
Moved event_handler to its own module and cleaned up readme 2022-03-20 09:46:40 -06:00