sopel/modules/bq.py
2018-02-10 19:28:07 -05:00

20 lines
521 B
Python
Executable File

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