aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Shivansh-007 <[email protected]>2021-01-26 17:27:32 +0530
committerGravatar Shivansh-007 <[email protected]>2021-01-26 17:27:32 +0530
commit8b71066b6dd645918cdceef389eb98d334c62434 (patch)
treebfad376f02f221d6136b8be2669b8505649318ec
parentMerge branch 'feature/link_issues' of https://github.com/Shivansh-007/sir-lan... (diff)
Add docstring to FetchIssueErrors and remove extra new line
-rw-r--r--bot/exts/evergreen/issues.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/evergreen/issues.py b/bot/exts/evergreen/issues.py
index d6790edf..c9f87957 100644
--- a/bot/exts/evergreen/issues.py
+++ b/bot/exts/evergreen/issues.py
@@ -25,11 +25,12 @@ if GITHUB_TOKEN := Tokens.github:
class FetchIssueErrors(Enum):
+ """Errors returned in fetch issues."""
+
value_error = "Numbers not found."
max_requests = "Max requests hit."
-
class Issues(commands.Cog):
"""Cog that allows users to retrieve issues from GitHub."""