add 106 door
This commit is contained in:
parent
6c39bed95f
commit
ce3ee93910
1 changed files with 10 additions and 0 deletions
10
worker/106.py
Normal file
10
worker/106.py
Normal 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}秒前有人来过。'
|
Loading…
Reference in a new issue