Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reddit command #1499

Open
1 of 2 tasks
wookie184 opened this issue Apr 1, 2024 · 0 comments
Open
1 of 2 tasks

Fix reddit command #1499

wookie184 opened this issue Apr 1, 2024 · 0 comments
Labels
status: approved The issue has received a core developer's approval type: bug Something isn't working

Comments

@wookie184
Copy link
Contributor

Description

This error is raised when running the reddit command with a custom subreddit, e.g. .reddit top r/python

2024-04-01 16:57:14 \| ERROR \| bot.exts.core.error_handler \| Unhandled command error: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://www.reddit.com/subreddits/search.json?q=r/python')

I've not investigated this further yet.

Would you like to implement a fix?

Note: For high-priority or critical bugs, fixes may be implemented by staff.

  • I'd like to implement the bug fix
  • Anyone can implement the bug fix
@wookie184 wookie184 added type: bug Something isn't working status: approved The issue has received a core developer's approval labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: approved The issue has received a core developer's approval type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant