aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/halloween/hacktober-issue-finder.py
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-10-31 13:00:46 +0000
committerGravatar GitHub <[email protected]>2020-10-31 13:00:46 +0000
commita81deec68df39cd5cb91269909f65208afc56716 (patch)
treedb85be372d82fab69639b7a52501424fe12f04f9 /bot/exts/halloween/hacktober-issue-finder.py
parentIntents: use 'default' factory (diff)
parentMerge pull request #479 from Anubhav1603/bug_ec (diff)
Merge branch 'master' into discordpy-15
Diffstat (limited to 'bot/exts/halloween/hacktober-issue-finder.py')
-rw-r--r--bot/exts/halloween/hacktober-issue-finder.py2
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 78acf391..9deadde9 100644
--- a/bot/exts/halloween/hacktober-issue-finder.py
+++ b/bot/exts/halloween/hacktober-issue-finder.py
@@ -103,7 +103,7 @@ class HacktoberIssues(commands.Cog):
labels = [label["name"] for label in issue["labels"]]
embed = discord.Embed(title=title)
- embed.description = 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)