OwnchatBot Info

Reward types

Chat commands

Points and Rewards

{% for user in users %} {% set points_label = 'point' if points_award == 1 else 'points' %} {% set minutes_label = 'minute' if points_interval == 1 else 'minutes' %}   {{ user[0] }}, you currently have {{ user[1] }} {{ points_label }}.
  You are accruing {{ points_award }} {{ points_label }} every {{ points_interval }} {{ minutes_label }}. {% endfor %}

Active Votes

{% for vote in votes %} {% set points_label = 'point' if rewards[vote[0]]["price"] == 1 else 'points' %} {% set votes_label = 'vote' if vote[1] == 1 else 'votes' %} {% endfor %}
Name Description Price Current Tally
{{ prefix }}{{ vote[0] }} {{ vote[2] }} {{ rewards[vote[0]]["price"] }} {{ points_label }} {{ vote[1] }} {{ votes_label }}

Active Goals

{% if goals %} {% for goal in goals %} {% set progress = goal[1] / goal[2] * 100 %} {% if goal[1] == goal[2] %} {% else %} {% endif %} {% endfor %}
Name Description Progress
{{ prefix }}{{ goal[0] }} {{ goal[3] }}
{{ '%0.0f'| format(progress| float) }}%
{{ goal[1] }} / {{ goal[2] }} {{ goal[1] }} / {{ goal[2] }}
{% else %}   There are currently no active goals
{% endif %}

Active Redeems

{% if rewards %} {% for reward, reward_info in rewards.items() %} {% if reward_info["type"] == "redeem" or reward_info["type"] == "special" %} {% if reward_info["cooldown"] > 0 %} {% set minutes_label = 'minute' if reward_info["cooldown"] == 1 else 'minutes' %} {% else %} {% endif %} {% set points_label = 'point' if reward_info["price"] == 1 else 'points' %} {% endif %} {% endfor %}
Name Description Cool down Price
{{ prefix }}{{ reward }} {{ reward_info["info"] }}{{ reward_info["cooldown"] }} {{ minutes_label }}None{{ reward_info["price"] }} {{ points_label }}
{% else %}   There are currently no active redeems {% endif %}

Queue

{% if queue %} {% for row in queue %} {% if not row[4] %} {% if row[6] %} {% else %} {% endif %} {% endif %} {% endfor %}
Time Name Description User
{{ row[1].replace(tzinfo=utc_timezone).astimezone().strftime("%H:%M") }} {{ prefix }}{{ row[2] }} {{ all_rewards[row[2]]["info"] }}{{ row[6] }}
{% else %}   The queue is currently empty {% endif %}