diff --git a/radia/battlefy/objects/player.py b/radia/battlefy/objects/player.py index eba91d3..ebf923a 100644 --- a/radia/battlefy/objects/player.py +++ b/radia/battlefy/objects/player.py @@ -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): diff --git a/radia/cogs/checkin.py b/radia/cogs/checkin.py index 4a6185c..cdb4539 100644 --- a/radia/cogs/checkin.py +++ b/radia/cogs/checkin.py @@ -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()