fulvia/modules/bq.py

20 lines
469 B
Python
Raw Normal View History

2018-03-16 03:13:43 -04:00
#!/usr/bin/env python3
"""
Various things related to Banished Quest.
"""
2018-04-07 14:46:36 -04:00
from datetime import datetime
2018-03-16 03:13:43 -04:00
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"
2018-05-25 15:21:18 -04:00
bot.msg(msg)