can now use reactions on lang command

This commit is contained in:
2020-11-23 14:11:57 +00:00
parent 06d13ec810
commit 3c1fe1f091
3 changed files with 105 additions and 22 deletions

View File

@ -217,7 +217,9 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
.intents(
GatewayIntents::GUILD_MESSAGES
| GatewayIntents::GUILDS
| GatewayIntents::DIRECT_MESSAGES,
| GatewayIntents::GUILD_MESSAGE_REACTIONS
| GatewayIntents::DIRECT_MESSAGES
| GatewayIntents::DIRECT_MESSAGE_REACTIONS,
)
.event_handler(Handler)
.framework_arc(framework_arc.clone())