diff --git a/_orangcbot/extensions/fun.py b/_orangcbot/extensions/fun.py index dc686f6..3230e51 100644 --- a/_orangcbot/extensions/fun.py +++ b/_orangcbot/extensions/fun.py @@ -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