Skip to content

Commit e5992ab

Browse files
authored
Update README.md example
1 parent f6e578f commit e5992ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ proc messageCreate(s: Shard, m: Message) {.event(discord).} =
6565
)
6666
6767
# Connect to Discord and run the bot.
68-
waitFor discord.startSession(gateway_intents={giMessageContent}) # Don't forget to specify the gateway_intent argument and double check your priviliged intent
68+
waitFor discord.startSession(gateway_intents={giMessageContent, giGuildMessages}) # Don't forget to specify the gateway_intent argument and double check your priviliged intent
6969
```
7070
Please note that you need to define `-d:ssl` if you are importing httpclient before importing dimscord.
7171
You can use -d:dimscordDebug, if you want to debug.

0 commit comments

Comments
 (0)