diff --git a/discordo.go b/discordo.go index b8a58a3..68c8a79 100644 --- a/discordo.go +++ b/discordo.go @@ -90,6 +90,9 @@ func newSession(email string, password string, token string) *session.Session { if !strings.HasPrefix(token, "Bot ") { sess.AddHandler(onReady) + } else { + sess.Gateway.AddIntents(gateway.IntentGuilds) + sess.Gateway.AddIntents(gateway.IntentGuildMessages) } }