Skip to content

Commit

Permalink
Fix black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Taaku18 committed Dec 19, 2022
1 parent 88676e5 commit 6c690fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def __init__(self):
self.config.populate_cache()

intents = discord.Intents.all()
if not self.config['enable_presence_intent']:
if not self.config["enable_presence_intent"]:
intents.presences = False

super().__init__(command_prefix=None, intents=intents) # implemented in `get_prefix`
Expand Down Expand Up @@ -229,7 +229,7 @@ async def runner():
self._connected = asyncio.Event()
self.session = ClientSession(loop=self.loop)

if self.config['enable_presence_intent']:
if self.config["enable_presence_intent"]:
logger.info("Starting bot with presence intent.")
else:
logger.info("Starting bot without presence intent.")
Expand Down

0 comments on commit 6c690fe

Please sign in to comment.