{% extends "_base.html" %} {% block title %}Commands{% endblock %} {% block head %} {% endblock %} {% block body %} {% for command in commands %}
{{ command.name }} {% if !command.aliases.is_empty() %} {{ command.aliases.join(", ") }} {% endif %}
{%- match command.cooldowns.user -%} {%- when Some with (c) -%} Cooldown: {{ c.seconds_f64() }}s {%- else -%} {%- endmatch -%} {%- match command.cooldowns.global -%} {%- when Some with (c) -%} GCD: {{ c.seconds_f64() }}s {%- else -%} {%- endmatch -%}
Script

            {%- match command.executor -%}
                {%- when CommandExecutor::Text with (t) -%}
                    {{ t }}
                {%- when CommandExecutor::Rhai with (t) -%}
                    {{ t }}
            {%- endmatch -%}
        
Edit
{% endfor %} {% endblock %}