Added intents

This commit is contained in:
Sven Heidemann 2021-11-30 17:22:37 +01:00
parent 9c7b00e259
commit 0bb5024c6a

View File

@ -36,7 +36,7 @@ class BotService(BotServiceABC, commands.Bot):
self._bot_settings: BotSettings = bot_settings
# 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):
self._logger.trace(__name__, 'Try to connect to discord')