Skip to content

Django API Support: Prettier HTTP error responses #106

@pydis-bot

Description

@pydis-bot

Originally posted by Johannes Christ:

The current responses returned when something goes wrong from the Django API are very crude. We should display embeds and random error messages instead. The relevant code can be found here: https://gitlab.com/python-discord/projects/bot/blob/django/bot/cogs/events.py#L138-143

To set up the bot to work with the new site, you can either ask me for an API key on my instance or set up your own. See the Django branch on the site project for more information.

This is labelled as a good first issue - if you have any questions about this, don't hesitate to ask!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions