Skip to content

Commit

Permalink
[Discord] Improve poker command clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Jan 18, 2023
1 parent 1ede01b commit 163ad02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Discord/cogs/poker.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ def __init__(self):
async def poker(self, ctx):
'''Texas Hold'em'''
if poker_hand := self.poker_hands.get(ctx.channel.id):
return await ctx.embed_reply(
await ctx.embed_reply(
f"[There's already a poker match in progress here]({poker_hand.message.jump_url})"
)
return

self.poker_hands[ctx.channel.id] = PokerHand(ctx)
await self.poker_hands[ctx.channel.id].start(ctx)
Expand Down

0 comments on commit 163ad02

Please sign in to comment.