sopel/modules/bq.py

20 lines
521 B
Python
Raw Permalink Normal View History

2018-02-10 19:28:07 -05:00
#!/usr/bin/env python3
2017-11-22 19:26:40 -05:00
"""
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)