From 759635597a3ae6210733ede9eca012acc3235974 Mon Sep 17 00:00:00 2001 From: SiHuan Date: Thu, 20 Aug 2020 18:57:31 +0800 Subject: [PATCH] add oj --- worker/oj.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 worker/oj.py diff --git a/worker/oj.py b/worker/oj.py new file mode 100644 index 0000000..547398b --- /dev/null +++ b/worker/oj.py @@ -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