mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
Remove automatic defer behaviour from View and Modal
This doesn't make as much sense anymore now that InteractionResponse.edit_message exists.
This commit is contained in:
@ -192,8 +192,6 @@ class Modal(View):
|
||||
return
|
||||
|
||||
await self.on_submit(interaction)
|
||||
if not interaction.response._responded:
|
||||
await interaction.response.defer()
|
||||
except Exception as e:
|
||||
return await self.on_error(e, interaction)
|
||||
else:
|
||||
|
Reference in New Issue
Block a user