We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88676e5 commit 6c690feCopy full SHA for 6c690fe
bot.py
@@ -70,7 +70,7 @@ def __init__(self):
70
self.config.populate_cache()
71
72
intents = discord.Intents.all()
73
- if not self.config['enable_presence_intent']:
+ if not self.config["enable_presence_intent"]:
74
intents.presences = False
75
76
super().__init__(command_prefix=None, intents=intents) # implemented in `get_prefix`
@@ -229,7 +229,7 @@ async def runner():
229
self._connected = asyncio.Event()
230
self.session = ClientSession(loop=self.loop)
231
232
- if self.config['enable_presence_intent']:
+ if self.config["enable_presence_intent"]:
233
logger.info("Starting bot with presence intent.")
234
else:
235
logger.info("Starting bot without presence intent.")
0 commit comments