#Getting original response from a SlashContext
1 messages · Page 1 of 1 (latest)
Hey! Once your issue is solved, press the button below to close this thread!
figured it out, can just do: if ctx.ephemeral:
1 messages · Page 1 of 1 (latest)
i've been migrating to ipy recently (from pycord) and have struggled to find how i can get the context's original response:
@listen()
async def on_command_completion(self, ctx: SlashContext):
response = await ctx.interaction.original_response()
if response.flags.ephemeral == True:
return
Hey! Once your issue is solved, press the button below to close this thread!
figured it out, can just do: if ctx.ephemeral: