From 71576f48e436de852feebebbf4f886206197d3ee Mon Sep 17 00:00:00 2001 From: Romain J Date: Mon, 9 Nov 2020 01:27:19 +0100 Subject: [PATCH] fix(discord): add itents --- tuxbot/cogs/Utils/utils.py | 4 +--- tuxbot/core/bot.py | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tuxbot/cogs/Utils/utils.py b/tuxbot/cogs/Utils/utils.py index 63de92a..12ba61d 100644 --- a/tuxbot/cogs/Utils/utils.py +++ b/tuxbot/cogs/Utils/utils.py @@ -108,8 +108,6 @@ class Utils(commands.Cog, name="Utils"): inline=False, ) - e.set_footer( - text=f"version: {__version__} • prefix: {ctx.prefix}" - ) + e.set_footer(text=f"version: {__version__} • prefix: {ctx.prefix}") await ctx.send(embed=e) diff --git a/tuxbot/core/bot.py b/tuxbot/core/bot.py index 88c857a..c7c9bd9 100644 --- a/tuxbot/core/bot.py +++ b/tuxbot/core/bot.py @@ -97,7 +97,9 @@ class Tux(commands.AutoShardedBot): self.uptime = None self._app_owners_fetched = False # to prevent abusive API calls - super().__init__(*args, help_command=None, **kwargs) + super().__init__( + *args, help_command=None, intents=discord.Intents.all(), **kwargs + ) self.session = aiohttp.ClientSession(loop=self.loop) async def load_packages(self):