fix(discord): add itents

This commit is contained in:
Romain J 2020-11-09 01:27:19 +01:00
parent d6e9cd6512
commit 71576f48e4
2 changed files with 4 additions and 4 deletions

View file

@ -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)

View file

@ -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):