Deferring in Slash Commands | discord.py

Опубликовано: 13 Март 2026
на канале: Digiwind
11,175
133

In this video, we work on deferring in slash commands in Discord.py. By deferring, we can extend the amount of time your bot has to respond to an interaction from 3 seconds to up to 15 minutes.

To avoid a 404 Not Found Unknown Interaction error and a "The application did not respond" error for the user, you either have to respond within 3 seconds or defer and followup later (within 15 minutes).

Make Slash Commands in Discord.py:    • (Updated!) How to Make Slash Commands in D...  
More Discord.py Videos:    • discord.py  

Slash Command Code Template: https://github.com/Digiwind/Digiwind-...

Deferring Documentation: https://discordpy.readthedocs.io/en/l...
Followup Documentation (not very well documented right now): https://discordpy.readthedocs.io/en/l...

Discord Documentation for Responding to Interactions: https://discord.com/developers/docs/i...

Discord Server:   / discord  
Twitter (@Digiwind_YT):   / digiwind_yt  
Reddit (u/digiwind_yt):   / digiwind_yt  
GitHub (Digiwind): https://github.com/Digiwind
Top.gg: https://top.gg/user/512025208542986241
Official Discord.py Server: discord.gg/dpy

#discordpy #dpy #digiwind #slashcommands #appcommands