add oj
This commit is contained in:
parent
76a0548dea
commit
759635597a
1 changed files with 10 additions and 0 deletions
10
worker/oj.py
Normal file
10
worker/oj.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
from zzcore import StdAns
|
||||
|
||||
class Ans(StdAns):
|
||||
def GETMSG(self):
|
||||
msg = 'https://openjudge.sakuya.love/'
|
||||
try:
|
||||
msg += '?'+ str(self.parms[1])
|
||||
except:
|
||||
msg += '\n可以在命令里加上题号直接搜索哦.'
|
||||
return msg
|
Loading…
Reference in a new issue