feat: handle reaction remove, fix deadlock
This commit is contained in:
parent
f3eb1dc188
commit
c0296f698a
4 changed files with 61 additions and 35 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue