aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/issues.py
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2020-09-19 15:06:24 -0700
committerGravatar Xithrius <[email protected]>2020-09-19 15:06:24 -0700
commit7a29cce2d06303965a89b789b352d4a5d9637f28 (patch)
treed1857d1cdc70c27a9663f5011076a75d1514732a /bot/exts/evergreen/issues.py
parentUpdated issue/pr command to get multiple links. (diff)
Replaced single quotes with double, set the repo link to be user-defined
Diffstat (limited to 'bot/exts/evergreen/issues.py')
-rw-r--r--bot/exts/evergreen/issues.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/evergreen/issues.py b/bot/exts/evergreen/issues.py
index 58ffe408..2f086f59 100644
--- a/bot/exts/evergreen/issues.py
+++ b/bot/exts/evergreen/issues.py
@@ -69,13 +69,13 @@ class Issues(commands.Cog):
issue_url = json_data.get("html_url")
links.append([icon_url, f"[{repository}] #{number} {json_data.get('title')}", issue_url])
- description_list = ['{0} [{1}]({2})'.format(*link) for link in links]
+ description_list = ["{0} [{1}]({2})".format(*link) for link in links]
resp = discord.Embed(
colour=Colours.bright_green,
description='\n'.join(description_list)
)
- resp.set_author(name="GitHub", url=f"https://github.com/python-discord/{repository}")
+ resp.set_author(name="GitHub", url=f"https://github.com/{user}/{repository}")
await ctx.send(embed=resp)