Monitor every message
This commit is contained in:
parent
4f9fed5655
commit
74ddfb5b52
2
main.go
2
main.go
@ -48,7 +48,7 @@ func main() {
|
|||||||
dg.AddHandler(ready)
|
dg.AddHandler(ready)
|
||||||
dg.AddHandler(messageCreate)
|
dg.AddHandler(messageCreate)
|
||||||
|
|
||||||
dg.Identify.Intents = discordgo.IntentsGuilds | discordgo.IntentsGuildMessages
|
dg.Identify.Intents = discordgo.IntentsGuilds | discordgo.IntentsGuildMessages | discordgo.IntentMessageContent
|
||||||
|
|
||||||
err = dg.Open()
|
err = dg.Open()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user