Skip to content

Commit ed7fce7

Browse files
auto: format python code
1 parent 78562b0 commit ed7fce7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

modules/games.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
import config # type: ignore
1212
import discord
1313
import pymongo
14+
import rapidfuzz
1415
import token_bucket
1516
from dateutil import parser
1617
from discord import app_commands
1718
from discord.ext import commands, tasks
18-
import rapidfuzz
1919

2020
import tools # type: ignore
2121

@@ -186,7 +186,7 @@ async def _games_search_autocomplete(self, interaction: discord.Interaction, cur
186186
return [app_commands.Choice(name=game['name'], value=game['deku_id'])]
187187
else:
188188
return []
189-
189+
190190
@app_commands.guilds(discord.Object(id=config.nintendoswitch))
191191
class GamesCommand(app_commands.Group):
192192
pass

modules/social.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
import yaml
2323
from discord import app_commands
2424
from discord.ext import commands
25-
from rapidfuzz import process
2625
from PIL import Image, ImageDraw, ImageFont
26+
from rapidfuzz import process
2727

2828
import tools # type: ignore
2929

@@ -975,11 +975,11 @@ async def _profile_games_autocomplete(self, interaction: discord.Interaction, cu
975975
game5='Optionally pick a 5th game to show on your profile as well. Search by name',
976976
)
977977
@app_commands.autocomplete(
978-
game1=_profile_games_autocomplete,
979-
game2=_profile_games_autocomplete,
980-
game3=_profile_games_autocomplete,
981-
game4=_profile_games_autocomplete,
982-
game5=_profile_games_autocomplete,
978+
game1=_profile_games_autocomplete,
979+
game2=_profile_games_autocomplete,
980+
game3=_profile_games_autocomplete,
981+
game4=_profile_games_autocomplete,
982+
game5=_profile_games_autocomplete,
983983
)
984984
async def _profile_games(
985985
self,

0 commit comments

Comments
 (0)