Skip to content

Commit

Permalink
Refactor if expression
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsource-autofix[bot] authored Apr 9, 2022
1 parent 0589c36 commit 7ed81ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minato_namikaze/discordbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ async def on_ready(self):
else:
await developer.post()
log.info("Status Posted")
await post_commands(self, True if self.local else False)
await post_commands(self, bool(self.local))
log.info('Commands Posted')
await self.change_presence(
status=discord.Status.idle,
Expand Down

0 comments on commit 7ed81ef

Please sign in to comment.