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: "
|
2019-10-08 12:39:13 -04:00
|
|
|
msg += relativeTime(datetime.now(), deathdate) + " ago "
|
2018-07-02 12:43:13 -04:00
|
|
|
msg += deathdate
|
2018-05-25 15:21:18 -04:00
|
|
|
bot.msg(msg)
|