{% extends "layouts/base.html" %} {% block title %} {{ _("Guild") }} {{ guild.name }} {% endblock %} {% block stylesheets %}{% endblock %} {% block content %} {% include "pages/guild_profile.html" %} {{ _("Overview") }} {{ _("Bot Settings") }} {{ number_to_text_with_suffix(third_parties|length) }} {% if third_parties|length != 1 %}{{ _("Third Parties") }}{% else %}{{ _("Third Party") }}{% endif %} {{ _("Overview") }} {% if aliases_form %} {{ _("Alias") }} {{ aliases_form.hidden_tag() }} {% for alias_form in aliases_form.aliases.default %} {% if loop.index0 > 0 %} {% endif %} {{ alias_form.hidden_tag() }} {{ alias_form.alias_name(class="form-control form-control-default", placeholder=_("Name")) }} {{ alias_form.command(rows=4, disable_toolbar=True, class="form-control form-control-default", placeholder=_("Command")) }} {{ _("Delete Alias") }} {% endfor %} {{ _("Create Alias") }} {{ aliases_form.submit(class="btn mb-0 bg-gradient-success btn-md w-100 my-4 mb-2") }} {% endif %} {% if custom_commands_form %} {{ _("CustomCommands") }} {{ custom_commands_form.hidden_tag() }} {% for custom_command_form in custom_commands_form.custom_commands.default %} {% if loop.index0 > 0 %} {% endif %} {{ custom_command_form.hidden_tag() }} {{ custom_command_form.command(class="form-control form-control-default", placeholder=_("Command")) }} {% for custom_command_response_form in custom_command_form.responses.default %} {{ custom_command_response_form.hidden_tag() }} {{ custom_command_response_form.response(rows=3, class="form-control form-control-default", placeholder=_("Response")) }} {% if loop.index0 != 0 %} {{ _("Remove Response") }} {% endif %} {% endfor %} {{ _("Add Response") }} {{ _("Delete Custom Command") }} {% endfor %} {{ _("Create Custom Command") }} {{ custom_commands_form.submit(class="btn mb-0 bg-gradient-success btn-md w-100 my-4 mb-2") }} {% endif %} {{ _("Settings") }} {{ guild_settings_form.hidden_tag() }} {{ guild_settings_form.bot_nickname.label.text }} {{ guild_settings_form.bot_nickname(class="form-control form-control-default") }} {{ guild_settings_form.prefixes.label.text }} {{ guild_settings_form.prefixes(class="form-control form-control-default select-choices") }} {{ guild_settings_form.admin_roles.label.text }} {{ guild_settings_form.admin_roles(class="form-control form-control-default") }} {{ guild_settings_form.mod_roles.label.text }} {{ guild_settings_form.mod_roles(class="form-control form-control-default") }} {{ guild_settings_form.ignored(class="form-check-input ms-0", type="checkbox") }} {{ guild_settings_form.ignored.label.text }} {{ guild_settings_form.disabled_commands.label.text }} {{ guild_settings_form.disabled_commands(class="form-control form-control-default") }} {{ guild_settings_form.embeds(class="form-check-input ms-0", type="checkbox") }} {{ guild_settings_form.embeds.label.text }} {{ guild_settings_form.use_bot_color(class="form-check-input ms-0", type="checkbox") }} {{ guild_settings_form.use_bot_color.label.text }} {{ guild_settings_form.fuzzy(class="form-check-input ms-0", type="checkbox") }} {{ guild_settings_form.fuzzy.label.text }} {{ guild_settings_form.delete_delay.label.text }} {{ guild_settings_form.delete_delay(class="form-control form-control-default") }} {{ guild_settings_form.locale.label.text }} {{ guild_settings_form.locale(class="form-control form-control-default") }} {{ guild_settings_form.regional_format.label.text }} {{ guild_settings_form.regional_format(class="form-control form-control-default") }} {{ guild_settings_form.submit(class="btn mb-0 bg-gradient-success btn-md w-100 my-4 mb-2") }} {% include "pages/third_parties/third_parties_list.html" %} {% endblock %} {% block javascripts %} {% if aliases_form %} {% endif %} {% if custom_commands_form %} {% endif %} {% endblock %}