parent
2c3449f263
commit
1ba14dc950
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ class DiscordConnector:
|
|||
return message["embeds"][0]["rawDescription"]
|
||||
if "author" in message["embeds"][0]:
|
||||
return message["embeds"][0]["author"]["name"]
|
||||
elif len(message["attachments"]) == 1:
|
||||
elif 'attachments' in message and len(message["attachments"]) == 1:
|
||||
return ""
|
||||
return ""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue