Skip to content

Commit

Permalink
hotfix: fix adding to mogi
Browse files Browse the repository at this point in the history
  • Loading branch information
probablyjassin committed Nov 10, 2024
1 parent b051584 commit 31799d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cogs/mogi/managing.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ async def add_player(
if player_profile in ctx.mogi.players:
return await ctx.respond("Player is already in the mogi", ephemeral=True)

ctx.mogi.players.append(ctx.user)
await ctx.respond(f"{ctx.user.mention} joined the mogi! (against their will)")
ctx.mogi.players.append(player_profile)
await ctx.respond(
f"<@{player_profile.discord_id}> joined the mogi! (against their will)"
)

@manage.command(name="remove")
@is_mogi_not_in_progress()
Expand Down

0 comments on commit 31799d6

Please sign in to comment.