{% include 'imports.html' %}

Create bot

Step {{ session['step'] }}

{% if session['step'] == 1 %}
{% elif session['step'] == 2 %}

Detected instance type: {{ session['instance_type'] }}

{{ session['instance'] }} is a {{ session['instance_type'] }} instance. {% if session['instance_type'] == 'Pleroma' %}Unfortunately, bots on Pleroma instances cannot listen for replies yet. This means that your bot will have its reply functionality disabled.{% else %}{{ session['instance_type'] }} instances are fully supported, and your bot will have all functionality available.{% endif %}

{% elif session['step'] == 3 %}

You now need to give your bot access to the {{ session['instance'] }} account you have created for it. If you have not yet created an account on {{ session['instance'] }} for your bot to use, please do so now.

Sign in to the {{ session['instance'] }} account you want your bot to use, then click next to begin the authorisation process.

{% elif session['step'] == 4 %}

Congratulations!

FediBooks has successfully authenticated with {{ session['instance'] }}, and your bot is ready to be configured. Click finish to return to the bot management screen.

To get your bot working, you need to add at least one account for it to learn from. You can do so by clicking the button. To configure settings such as posting frequency and content warnings, click the button.

{% else %}

Error

An unknown error has occurred.

{% endif %}
Cancel {% if session['step'] != 1 %} {% endif %}
{% include 'footer.html' %}