#Edit or delete a message through ephemeral confirmation w/ buttons?

1 messages · Page 1 of 1 (latest)

tough reefBOT
#

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

lavish pasture
#

await ctx.delete() should do the trick

lavish pasture
#

I fail to pass the ID of the "blue embed message"

#

can you clarify on that?

#

assuming you're doing

msg = await ctx.send(..., ephemeral=True)
...  # logic here
await ctx.delete(msg)
#

that should work

#

unless you want to delete the original message

lavish pasture
#

hm, its hard to say

#

ipy is exposing all of the methods it has on hand, im surprised componentcontext.delete() isnt working

#

(component context meaning the context from your button, not the slash command)

thin ore
#

its in that format you put yes : )

#

however idk anymore about the other things dark