Skip to content

Commit 8ceb786

Browse files
authored
Merge pull request #3201 from Cordila/patch-2
Fix for `logs` command. GH#3200
2 parents 14ac193 + ec52cc2 commit 8ceb786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cogs/modmail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ def format_log_embeds(self, logs, avatar_url):
749749
if entry["recipient"]["id"] != entry["creator"]["id"]:
750750
embed.add_field(name="Created by", value=f"<@{entry['creator']['id']}>")
751751

752-
if entry["title"]:
752+
if entry.get("title"):
753753
embed.add_field(name="Title", value=entry["title"], inline=False)
754754

755755
embed.add_field(name="Preview", value=format_preview(entry["messages"]), inline=False)

0 commit comments

Comments
 (0)