{% extends "base.htm" %} {% block title %}Overview{% endblock %} {% block content %}

Bots

{% match bot %} {% when Some with (bot) %}

{{ bot.name }}

State: {{ bot.state }}
Volume: {{ bot.volume * 100.0 }}%
{% match bot.currently_playing %} {% when Some with (current) %}

Currently playing:

{% match current.thumbnail %} {% when Some with (thumbnail) %} {% when None %} {% endmatch %} {{ current.title }} ({{ current.duration|fmt_duration }}) {% when None %} {% endmatch %}

Playlist

{% for item in bot.playlist %} {% endfor %}
# track length added by
{{ loop.index }} {{ item.title }} {% let duration = item.duration %} {{ duration|fmt_duration }} {{ item.added_by }}
{% when None %} {% endmatch %} {% endblock %}