Skip to content

Fix reddit command #1499

@wookie184

Description

@wookie184

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: approvedThe issue has received a core developer's approvaltype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions