mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 14:39:54 -05:00
test
This commit is contained in:
parent
7d095db3b5
commit
aa8b8ec61e
@ -9,6 +9,7 @@ import time
|
|||||||
import sopel_modules.SpiceBot as SpiceBot
|
import sopel_modules.SpiceBot as SpiceBot
|
||||||
|
|
||||||
|
|
||||||
|
@SpiceBot.prerun('nickname')
|
||||||
@sopel.module.nickname_commands('uptime')
|
@sopel.module.nickname_commands('uptime')
|
||||||
def bot_command_uptime(bot, trigger):
|
def bot_command_uptime(bot, trigger):
|
||||||
timesince = str(SpiceBot.humanized_time(time.time() - SpiceBot.events.BOT_UPTIME)) + " ago."
|
timesince = str(SpiceBot.humanized_time(time.time() - SpiceBot.events.BOT_UPTIME)) + " ago."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user