Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
help
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskDuck committed Apr 18, 2024
1 parent 4012041 commit e10257f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _orangcbot/extensions/fun.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ async def ubdict(self, ctx: commands.Context, *, word: str):
@commands.command()
async def slappy(self, ctx: commands.Context, *, user: nextcord.Member):
inv = _BattleInvitation(ctx.author.id, user.id)
await ctx.send(f"<@{int(user.user.id)}>, <@{int(ctx.author.id)}> has invited you to a Slappy Slappy game.", allowed_mentions=nextcord.AllowedMentions.none(), view=SlapConfirmView(ctx, inv))
await ctx.send(f"<@{int(user.id)}>, <@{int(ctx.author.id)}> has invited you to a Slappy Slappy game.", allowed_mentions=nextcord.AllowedMentions.none(), view=SlapConfirmView(ctx, inv))


def check(m: _BattleInvitation):
return m == inv
Expand Down

0 comments on commit e10257f

Please sign in to comment.