feat: handle reaction remove, fix deadlock
All checks were successful
Build / Build (push) Successful in 2m1s
Build / docker (push) Successful in 20s

This commit is contained in:
파링 2026-01-07 15:42:47 +09:00
parent f3eb1dc188
commit c0296f698a
Signed by: paring
SSH key fingerprint: SHA256:8uCHhCpn/gVOLEaTolmbub9kfM6XBxWkIWmHxUZoWWk
4 changed files with 61 additions and 35 deletions

View file

@ -57,7 +57,9 @@ async fn main() -> anyhow::Result<()> {
Token::from_str(config.bot.token.expose_secret()).unwrap(),
GatewayIntents::GUILD_MESSAGES
| GatewayIntents::GUILD_MESSAGE_REACTIONS
| GatewayIntents::GUILDS,
| GatewayIntents::GUILDS
| GatewayIntents::GUILD_MESSAGES
| GatewayIntents::MESSAGE_CONTENT,
)
.event_handler(Arc::new(Handler {
db,