aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/seasons/evergreen/issues.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/issues.py b/bot/seasons/evergreen/issues.py
index 4de13abd..42a827c8 100644
--- a/bot/seasons/evergreen/issues.py
+++ b/bot/seasons/evergreen/issues.py
@@ -14,8 +14,9 @@ class Issues(commands.Cog):
self.bot = bot
@commands.command(aliases=("issues",))
- """Command to retrieve issues from a GitHub repository"""
async def issue(self, ctx, number: int, repository: str = "seasonalbot", user: str = "python-discord"):
+ """Command to retrieve issues from a GitHub repository"""
+
url = f"https://api.github.com/repos/{user}/{repository}/issues/{str(number)}"
status = {"404": f"Issue #{str(number)} doesn't exist in the repository {user}/{repository}.",
"403": f"Rate limit exceeded. Please wait a while before trying again!"}