mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 06:00:59 -05:00
test
This commit is contained in:
parent
aa8b8ec61e
commit
d53c293dc4
@ -9,8 +9,8 @@ import time
|
||||
import sopel_modules.SpiceBot as SpiceBot
|
||||
|
||||
|
||||
@SpiceBot.prerun('nickname')
|
||||
@sopel.module.nickname_commands('uptime')
|
||||
@SpiceBot.prerun('nickname')
|
||||
def bot_command_uptime(bot, trigger):
|
||||
timesince = str(SpiceBot.humanized_time(time.time() - SpiceBot.events.BOT_UPTIME)) + " ago."
|
||||
bot.osd("I have been running since " + timesince)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user