aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RohanRadia <[email protected]>2019-05-15 19:21:53 +0100
committerGravatar RohanRadia <[email protected]>2019-05-15 19:21:53 +0100
commita29c624d6984c531745fa9a39fa5114e9564b421 (patch)
treecd808c90b48b2b5cb3dbc1b572ea5a8c35dcff70
parentBlank line linter error fixed (diff)
Added docstring to function
Diffstat (limited to '')
-rw-r--r--bot/seasons/evergreen/issues.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/seasons/evergreen/issues.py b/bot/seasons/evergreen/issues.py
index 4d7f9a68..4de13abd 100644
--- a/bot/seasons/evergreen/issues.py
+++ b/bot/seasons/evergreen/issues.py
@@ -14,6 +14,7 @@ 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"):
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}.",