Skip to content

Commit

Permalink
Merge pull request #288 from The-4th-Hokage/deepsource-transform-6404…
Browse files Browse the repository at this point in the history
…b4b5

Format code with black, yapf, autopep8 and isort
  • Loading branch information
Dhruvacube authored Oct 31, 2021
2 parents ae254fb + c724fd3 commit e5702ef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion minato_namikaze/bot_files/cogs/fun/random_fun_games.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,12 @@ async def magic(self, ctx, user: discord.Member = None):
@commands.cooldown(1, 40, commands.BucketType.guild)
async def qr(self, ctx, colour="255-255-255", *, url=None):
"""Generates easy QR Code"""
colours = {"255-255-255": "255-255-255", "black": "0-0-0", "red": "FF0000", "blue": "00f"}
colours = {
"255-255-255": "255-255-255",
"black": "0-0-0",
"red": "FF0000",
"blue": "00f",
}
col = ["black", "red", "blue"]
if colour == "255-255-255":
col = ["255-255-255", "red", "blue"]
Expand Down

0 comments on commit e5702ef

Please sign in to comment.