aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/issues.py
diff options
context:
space:
mode:
authorGravatar Shivansh-007 <[email protected]>2021-01-27 16:58:53 +0530
committerGravatar Shivansh-007 <[email protected]>2021-01-27 16:58:53 +0530
commit65260f66e6e7d3a9bff8b19c4a498643d2e664aa (patch)
tree673b192f257256bad4019ee0aeba63be517672db /bot/exts/evergreen/issues.py
parentAdd check for in category and in remove overide_channel check and do it witho... (diff)
Fix return type annotations
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 4ab3df2c..8b02e874 100644
--- a/bot/exts/evergreen/issues.py
+++ b/bot/exts/evergreen/issues.py
@@ -26,7 +26,7 @@ if GITHUB_TOKEN := Tokens.github:
WHITELISTED_CATEGORIES = (
Categories.devprojects, Categories.media, Categories.development
)
-WHITELISTED_CHANNELS += (Channels.organisation)
+WHITELISTED_CHANNELS += Channels.organisation
CODE_BLOCK_RE = re.compile(
r"^`([^`\n]+)`" # Inline codeblock
@@ -78,7 +78,7 @@ class Issues(commands.Cog):
numbers: set,
repository: str,
user: str
- ) -> t.Union[str, list]:
+ ) -> t.Union[FetchIssueErrors, str, list]:
"""Retrieve issue(s) from a GitHub repository."""
links = []
if not numbers: