update 8-05-24 17:14
This commit is contained in:
parent
a0328e66fb
commit
510f4f2c33
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ class speechbubble(commands.Cog):
|
||||||
)
|
)
|
||||||
async def create(self, inter: disnake.ApplicationCommandInteraction, victim: disnake.Member = commands.Param(name="victim")):
|
async def create(self, inter: disnake.ApplicationCommandInteraction, victim: disnake.Member = commands.Param(name="victim")):
|
||||||
if inter.user.id == victim.id:
|
if inter.user.id == victim.id:
|
||||||
await inter.response.send_message("you may not assign yourself a speech bubble!", ephemeral=True)
|
await inter.response.send_message("you may not assign yourself a speech bubble, try someone else!", ephemeral=True)
|
||||||
return
|
return
|
||||||
await inter.response.send_modal(modal=ApplicationModal(victim))
|
await inter.response.send_modal(modal=ApplicationModal(victim))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue