From e4d7f44aa59d2bbd0f98f461e4b6504426a7eb8b Mon Sep 17 00:00:00 2001 From: Rapptz Date: Thu, 24 Sep 2020 09:00:07 -0400 Subject: Make Intent class creation more intuitive --- discord/state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/state.py') diff --git a/discord/state.py b/discord/state.py index 3257d41d..507226cc 100644 --- a/discord/state.py +++ b/discord/state.py @@ -137,7 +137,7 @@ class ConnectionState: if not isinstance(intents, Intents): raise TypeError('intents parameter must be Intent not %r' % type(intents)) else: - intents = Intents() + intents = Intents.default() try: chunk_guilds = options['fetch_offline_members'] -- cgit v1.2.3