18 lines
438 B
Python
18 lines
438 B
Python
|
#!/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)
|