Skip to content

Commit

Permalink
VIEWS: Fix ConfirmationView's invocation of super's ctor.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamievlin committed Dec 28, 2023
1 parent fa1773c commit 0462fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/libs/utils/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class ConfirmationView(RoboView):
def __init__(self, ctx, timeout: float, delete_after: bool):
super().__init__(ctx, timeout)
super().__init__(ctx, timeout=timeout)
self.value: Optional[bool] = None
self.delete_after = delete_after
self.message: Optional[discord.Message] = None
Expand Down

0 comments on commit 0462fd3

Please sign in to comment.