fix: removed useless attribute

This commit is contained in:
Seaswimmer 2023-08-07 21:31:34 -04:00
parent 1cb7525bb9
commit b4056699ed
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -15,7 +15,7 @@ class Say(commands.Cog):
target_type = "textchannel"
try:
await target.send(message)
if secondary_message.value != "":
if 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)
else: