Closed zoomingspeed closed 4 months ago
Do we know if this is a discord limitation or just the library
pass this ephemeral=True in your defer.
@Vondyy This is supported by the docs https://docs.pycord.dev/en/stable/api/application_commands.html#discord.ApplicationContext.defer
await ctx.defer(ephemeral=True)
if you're eventually going to send an ephemeral response.
Summary
When using ctx.defer(), it cannot return an ephemeral message, whether you use ctx.followup.send() or ctx.respond()
Reproduction Steps
Minimal Reproducible Code
Expected Results
Return an ephemeral message as expected
Actual Results
Returns the message, but it is not ephemeral
Intents
discord.Intents.all()
System Information
import pkg_resources
(vscode.dev environment)
Checklist
Additional Context
Note, also using ctx.send() makes the program return a type error: