{% extends "base-site.html" %} {% block title %} Login {% endblock %} {% block stylesheets %}{% endblock stylesheets %} {% block content %}
{% if status == '0' %}

Login

{% if redirect %}
Welcome to the Red Discord Bot dashboard! A lot of the magic here is hidden behind authorization. Want to see some of it? Login with Discord below!
{% else %}
Welcome to the Red Discord Bot dashboard! A lot of the magic here is hidden behind authorization, but unfortunately, login is currently not available because the dashboard is not connected to any bot.
{% endif %} {% elif status == '1' %}

Login Failed

{% if redirect %}
Looks like you denied authorization. Made a mistake? Click the button below to try again.
{% else %}
Looks like you denied authorization. Unfortunately, the dashboard's connection to the bot has terminated. Check back later.
{% endif %} {% elif status == '2' %}

Login Failed

{% if redirect %}
Looks like the bot owner may have not configured the dashboard properly. You can try again below if you believe this was a fluke. If this happens multiple times, please let the bot owner or server owner know.
{% else %}
Looks like the bot owner may have not configured the dashboard properly. Unfortunately, the dashboard's connection to the bot has terminated. Check back later.
{% endif %} {% elif status == '3' %}

Login Failed

{% if redirect %}
Looks like something went wrong on Discord's end. Try to login again below, or check to see if Discord is having API issues.
{% else %}
Looks like something went wrong on Discord's end. Unfortunately, the dashboard's connection to the bot has terminated. Check back later.
{% endif %} {% elif status == '4' %}

Login Failed

Looks like the bot owner just terminated the connection to the bot. Check back later.
{% elif status == '5' %}

Login Failed

{% if redirect %}
Looks like something went wrong. Try to login again below. If this keeps happening, please report to bot owner or server owner.
{% else %}
Looks like something went wrong. Unfortunately, the dashboard's connection to the bot has terminated. Try again later. If it continues to occur, please report to bot owner or server owner.
{% endif %} {% endif %}
{% endblock content %} {% block javascripts %} {% endblock javascripts %}