fix: hopefully fixed 400 bad request error
This commit is contained in:
parent
abd45f1f43
commit
5461eb49c9
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class Say(commands.Cog):
|
|||
target_type = "textchannel"
|
||||
try:
|
||||
await target.send(message)
|
||||
if secondary_message != "":
|
||||
if secondary_message is not None:
|
||||
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)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue