No selectable roles message was not ephemeral

This commit is contained in:
fanyx 2024-01-24 22:19:28 +01:00
parent 90b6b94f78
commit d3bd130056
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,7 @@ class AddRoleButton(Button):
if options == []: if options == []:
await interaction.response.send_message( await interaction.response.send_message(
ephemeral=True,
content="You already own all available roles." content="You already own all available roles."
) )
return return
@ -94,6 +95,7 @@ class RemoveRoleButton(Button):
if options == []: if options == []:
await interaction.response.send_message( await interaction.response.send_message(
ephemeral=True,
content="You own none of the available roles." content="You own none of the available roles."
) )
return return