mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 13:02:38 +00:00
Change errors to be ephemeral
This commit is contained in:
parent
bb05aa6d29
commit
9199099b61
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ async def on_reverse_error(event):
|
||||||
|
|
||||||
if error:
|
if error:
|
||||||
try:
|
try:
|
||||||
await event.context.respond(error)
|
await event.context.respond(error, flags=hikari.MessageFlag.EPHEMERAL)
|
||||||
except:
|
except:
|
||||||
await event.context.interaction.edit_initial_response(error, components=None)
|
await event.context.interaction.edit_initial_response(error, components=None)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue