Added intents
This commit is contained in:
parent
9c7b00e259
commit
0bb5024c6a
@ -36,7 +36,7 @@ class BotService(BotServiceABC, commands.Bot):
|
|||||||
self._bot_settings: BotSettings = bot_settings
|
self._bot_settings: BotSettings = bot_settings
|
||||||
|
|
||||||
# setup super
|
# setup super
|
||||||
commands.Bot.__init__(self, command_prefix=bot_settings.prefix, help_command=None)
|
commands.Bot.__init__(self, command_prefix=bot_settings.prefix, help_command=None, intents=discord.Intents().all())
|
||||||
|
|
||||||
async def start_async(self):
|
async def start_async(self):
|
||||||
self._logger.trace(__name__, 'Try to connect to discord')
|
self._logger.trace(__name__, 'Try to connect to discord')
|
||||||
|
Reference in New Issue
Block a user