Fix reddit command
wookie184 opened this issue · 0 comments
wookie184 commented
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