#ephemeral not working in defer

1 messages · Page 1 of 1 (latest)

stark flint
#
async def abc(ctx: SlashContext):
    await ctx.defer()
    await asyncio.sleep(10)
    await ctx.send("waited", ephemeral=True)```

why is the msg sent publicly?
old reefBOT
#

Hey! Once your issue is solved, press the button below to close this thread!

nimble grove
#

use ctx.defer(ephemeral=True)

stark flint
gleaming owl