Skip to content

Commit 8fdc3f1

Browse files
authored
oops
1 parent 9255c39 commit 8fdc3f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/ui/modal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ async def on_error(self, error: Exception, interaction: Interaction) -> None:
231231
interaction: :class:`~discord.Interaction`
232232
The interaction that led to the failure.
233233
"""
234-
interaction.client.dispatch("modal_error", error, self, interaction)
234+
interaction.client.dispatch("modal_error", error, interaction)
235235

236236
async def on_timeout(self) -> None:
237237
"""|coro|

0 commit comments

Comments
 (0)