Update 106.py

This commit is contained in:
MocyRee 2020-10-25 19:04:17 +08:00 committed by GitHub
parent 849c390cb4
commit 6f33254e75

View file

@ -2,9 +2,9 @@ import requests
from zzcore import StdAns from zzcore import StdAns
class Ans(StdAns): class Ans(StdAns):
AllowGroup = [959613860] AllowGroup = [959613860, 983250332]
def GETMSG(self): def GETMSG(self):
seconds = int(requests.get("http://127.0.0.1:8095/").text) seconds = int(requests.get("http://127.0.0.1:8095/").text)
m, s = divmod(seconds, 60) m, s = divmod(seconds, 60)
h, m = divmod(m, 60) h, m = divmod(m, 60)
return f'{h}小时{m}分钟{s}秒前有人来过。' return f'{h}小时{m}分钟{s}秒前有人来过。'