fulvia/modules/bq.py
2018-03-16 03:13:43 -04:00

18 lines
438 B
Python
Executable File

#!/usr/bin/env python3
"""
Various things related to Banished Quest.
"""
from module import commands
from tools.time import relativeTime
@commands('bq')
def BQstatus(bot, trigger):
"""
Displays the current status of BQ.
"""
status = "\x0304DEAD"
deathdate = "[2017-02-16 00:19:00]"
msg = "Banished Quest status: " + status + "\nTime since death: "
msg += relativeTime(bot.config, datetime.now(), deathdate) + " ago"
bot.say(msg)