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

Commit

Permalink
at this point orangc is to blame
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskDuck committed Apr 18, 2024
1 parent e10257f commit bafd4cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _orangcbot/extensions/fun.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def __init__(self, uid1, uid2):

class SlapConfirmView(nextcord.ui.View):
def __init__(self, ctx: commands.Context, invitation: _BattleInvitation):
super().__init__()
self._ctx: commands.Context = ctx
self._invitation: _BattleInvitation = invitation

Expand All @@ -45,6 +46,7 @@ async def _confirm(self, button: nextcord.ui.Button, interaction: nextcord.Inter

class SlapView(nextcord.ui.View):
def __init__(self, *, invitation: _BattleInvitation, ctx: commands.Context):
super().__init__()
self._invitation = invitation
self._ctx = _ctx
self._message: Optional[nextcord.Message] = None
Expand Down

0 comments on commit bafd4cf

Please sign in to comment.