Skip to content

Commit

Permalink
Format Python code with psf/black push
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions authored and github-actions committed Oct 28, 2023
1 parent b9c2ee3 commit f4b9c06
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cogs/text_service_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ async def on_ready(self):

print("Syncing commands...")


try:
await self.bot.sync_commands(
commands=None,
Expand All @@ -291,7 +290,9 @@ async def on_ready(self):
)
except:
traceback.print_exc()
print("There was a failure during command syncing. This might mean that the bot may not be in a guild that it expects to be in anymore, or it is in guilds without the guild ID being added to ALLOWED_GUILDS.")
print(
"There was a failure during command syncing. This might mean that the bot may not be in a guild that it expects to be in anymore, or it is in guilds without the guild ID being added to ALLOWED_GUILDS."
)
print("Commands synced")

# Start an inline async loop that runs every 10 seconds to save the conversation history to a pickle file
Expand Down

0 comments on commit f4b9c06

Please sign in to comment.