No selectable roles message was not ephemeral
This commit is contained in:
parent
90b6b94f78
commit
d3bd130056
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue