Skip to content

Commit

Permalink
fix checkin username
Browse files Browse the repository at this point in the history
Hot fix from last LI
  • Loading branch information
vlee489 committed Aug 3, 2023
1 parent 7f6cf99 commit 4e79536
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions radia/battlefy/objects/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def __init__(self, battlefy, discord_field, fc_field):
self.discord = self.discord[:-5]
elif self.discord.endswith("#0"):
self.discord = self.discord[:-2]
# self.discord = self.discord.lower()
self.fc = fc_field

async def get_discord(self, ctx):
Expand Down
2 changes: 1 addition & 1 deletion radia/cogs/checkin.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ async def checkin_set():
await ctx.message.add_reaction("❌")
return
team = await self.database.get_discord_team(
[f"{ctx.author.name}#{ctx.author.discriminator}", str(ctx.author.id)], # Forms list of field to find by
[f"{ctx.author.name}", str(ctx.author.id)], # Forms list of field to find by
self._battlefy_id)
if team:
await checkin_set()
Expand Down

0 comments on commit 4e79536

Please sign in to comment.