{% extends "base.html" %} {% block title %}Discord Settings — {{ club.name }}{% endblock %} {% block content %} {% include "club_ribbon.html" %}
Step 1 — Connect Discord server
{% if club.discord_server_id %}

Discord server connected.

{% else %}

Add the bot to your Discord server by clicking the button below, then run the /connect command in your server to link it to this club.

{% endif %} {% if oauth_url %} Connect Discord server {% else %}
DISCORD_BOT_CLIENT_ID is not configured on this server. Contact your site administrator.
{% endif %}
Step 2 — Post the join button

Once you've added the bot to your server and given it a role above the ones it manages, type /connect and press enter, then, when prompted for a club_uuid, paste this connection code:

Step 3 — Configure roles

Note that the bot needs a role that is placed above any roles it needs to manage in your server's role hierarchy.

{% csrf_token %}
{% if roles %} {% for role in roles %} {% endfor %}
Role name
{% if role.bot_can_manage %} {{ role.role_name }} {% else %} {{ role.role_name }} {% endif %} {% if role.is_paid_role %}Paid{% endif %} {% if role.is_unpaid_role %}Unpaid{% endif %} {% if role.bap_points_for_role %}BAP ≥ {{ role.bap_points_for_role }}{% endif %} {% if role.hap_points_for_role %}HAP ≥ {{ role.hap_points_for_role }}{% endif %} {% if not role.bot_can_manage %} Bot can't manage {% endif %}
{% else %}

No roles fetched yet. Click Fetch roles from Discord above.

{% endif %}
Step 4 (optional) — Auction notifications

To have announcements about upcoming auctions in a channel, you can use the slash command /auctions_here. This only works after you have connected your Discord server to a club.

{% if club.auction_channel_id %}

Auction announcements channel is set. Run /auctions_here in a different channel to change it.

{% else %}

No auction announcements channel set. Run /auctions_here in the channel where you want announcements posted.

{% endif %}
Events are created once an auction is at least 24 hours old. In-person auctions span the start time to two hours later; online auctions span bidding open to bidding close. The event location links to the auction rules page.
{% endblock %}