From 7ca221adb339fbc2a2aacbe267a0fb42778a55dd Mon Sep 17 00:00:00 2001 From: Dan Hess Date: Tue, 6 Oct 2020 21:15:09 -0500 Subject: [PATCH] Use intents --- bot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bot.py b/bot.py index 736c3d2..02a7dd6 100644 --- a/bot.py +++ b/bot.py @@ -11,6 +11,9 @@ os.chdir(os.path.dirname(os.path.realpath(__file__))) from discord.ext import commands import utils +intent = discord.Intents.all() +intent.presences = False + opts = { "command_prefix": utils.command_prefix, "description": utils.bot_description, @@ -18,6 +21,7 @@ opts = { "command_not_found": "", "activity": discord.Activity(name=utils.default_status, type=0), "allowed_mentions": discord.AllowedMentions(everyone=False), + "intents": intent, } bot = commands.AutoShardedBot(**opts)