Files
Owlbot/owlbot/builtin_modules/custom_commands/templates/list.html
T
LogalDeveloper 410c0cd791
CI / Formatting (push) Successful in 13s
CI / Linting (push) Successful in 14s
CI / Tests (Python 3.12) (push) Failing after 29s
CI / Tests (Python 3.13) (push) Failing after 29s
CI / Tests (Python 3.14) (push) Failing after 26s
CI / Type Checking (push) Failing after 25s
CI / Spelling (push) Successful in 13s
Added centralized templating system with static asset serving.
2026-02-27 10:05:52 -05:00

32 lines
882 B
HTML

{% extends "base.html" %}
{% block title %}Custom Commands{% endblock %}
{% block content %}
<h1 class="mb-3">Custom Commands</h1>
{% if commands %}
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Command</th>
<th>Aliases</th>
<th>Response</th>
<th class="text-center">Cooldown</th>
<th class="text-center">Permissions</th>
</tr>
</thead>
<tbody>
{% for cmd in commands %}
<tr>
<td>{{ prefix }}{{ cmd.name }}</td>
<td>{{ cmd.aliases }}</td>
<td>{{ cmd.response }}</td>
<td class="text-center">{{ cmd.cooldown }}</td>
<td class="text-center">{{ cmd.permissions }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<p>No custom commands defined.</p>
{% endif %}
{% endblock %}