fix(discord): add itents
This commit is contained in:
parent
d6e9cd6512
commit
71576f48e4
2 changed files with 4 additions and 4 deletions
|
@ -108,8 +108,6 @@ class Utils(commands.Cog, name="Utils"):
|
||||||
inline=False,
|
inline=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
e.set_footer(
|
e.set_footer(text=f"version: {__version__} • prefix: {ctx.prefix}")
|
||||||
text=f"version: {__version__} • prefix: {ctx.prefix}"
|
|
||||||
)
|
|
||||||
|
|
||||||
await ctx.send(embed=e)
|
await ctx.send(embed=e)
|
||||||
|
|
|
@ -97,7 +97,9 @@ class Tux(commands.AutoShardedBot):
|
||||||
self.uptime = None
|
self.uptime = None
|
||||||
self._app_owners_fetched = False # to prevent abusive API calls
|
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)
|
self.session = aiohttp.ClientSession(loop=self.loop)
|
||||||
|
|
||||||
async def load_packages(self):
|
async def load_packages(self):
|
||||||
|
|
Loading…
Reference in a new issue