Skip to content

Commit af2bc55

Browse files
fix: readd support for discussion shorthand
1 parent 5671df5 commit af2bc55

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

monty/exts/info/github_info.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,10 +470,8 @@ async def fetch_issues(
470470
else:
471471
json_data = r.json()
472472

473-
else:
473+
if is_discussion:
474474
# fetch with gql
475-
476-
# no caching right now, and only enabled in the disnake guild
477475
if not allow_discussions:
478476
return FetchError(404, "Issue not found.")
479477

0 commit comments

Comments
 (0)