add 106 door

This commit is contained in:
SiHuan 2020-10-24 18:43:39 +08:00
parent 6c39bed95f
commit ce3ee93910

10
worker/106.py Normal file
View file

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