fix: removed useless attribute
This commit is contained in:
parent
1cb7525bb9
commit
b4056699ed
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class Say(commands.Cog):
|
||||||
target_type = "textchannel"
|
target_type = "textchannel"
|
||||||
try:
|
try:
|
||||||
await target.send(message)
|
await target.send(message)
|
||||||
if secondary_message.value != "":
|
if secondary_message != "":
|
||||||
await target.send(secondary_message)
|
await target.send(secondary_message)
|
||||||
await interaction.response.send_message(content=f"Message sent to {target.mention}!\nMessage contents:\n```{message}```\n```{secondary_message}```", ephemeral=True)
|
await interaction.response.send_message(content=f"Message sent to {target.mention}!\nMessage contents:\n```{message}```\n```{secondary_message}```", ephemeral=True)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue