diff options
| author | 2021-05-04 12:57:03 -0400 | |
|---|---|---|
| committer | 2021-05-04 12:57:03 -0400 | |
| commit | a6cc40ff3b323dff112d7f8c339e124f3a6d9980 (patch) | |
| tree | f0cdec46d302cfc629fe9277df5cfbe6251a861b /bot/exts/halloween/hacktober-issue-finder.py | |
| parent | chore: Don't return a Message object when the return annotation is None (diff) | |
chore: Prefer double quotes over single quotes
Diffstat (limited to 'bot/exts/halloween/hacktober-issue-finder.py')
| -rw-r--r-- | bot/exts/halloween/hacktober-issue-finder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/halloween/hacktober-issue-finder.py b/bot/exts/halloween/hacktober-issue-finder.py index c88e2b6f..baee9612 100644 --- a/bot/exts/halloween/hacktober-issue-finder.py +++ b/bot/exts/halloween/hacktober-issue-finder.py @@ -102,7 +102,7 @@ class HacktoberIssues(commands.Cog): labels = [label["name"] for label in issue["labels"]] embed = discord.Embed(title=title) - embed.description = body[:500] + '...' if len(body) > 500 else body + embed.description = body[:500] + "..." if len(body) > 500 else body embed.add_field(name="labels", value="\n".join(labels)) embed.url = issue_url embed.set_footer(text=issue_url) |