Skip to content

Commit

Permalink
Merge pull request #581 from The-4th-Hokage/deepsource-fix-a6dba9d6
Browse files Browse the repository at this point in the history
Refactor `if` expression
  • Loading branch information
Dhruvacube authored Apr 9, 2022
2 parents 0589c36 + 7ed81ef commit f26c1f1
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 f26c1f1

Please sign in to comment.