can now use reactions on lang command

This commit is contained in:
jude committed 2020-11-23 14:11:57 +00:00
1 parent 06d13ec810
commit 3c1fe1f091
3 files changed
+105 -22

No files matched your search

+3 -1
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())