mirror of
https://github.com/myned/modufur.git
synced 2025-01-31 18:15:19 +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…
Add table
Reference in a new issue