project rename

This commit is contained in:
2018-04-19 17:32:28 +08:00
parent 91da34d642
commit 94844bba07
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,6 @@
# kCOJ Bot # KCOJ Bot
Kuo C-Language Online Judge Bot
Telegram Bot that is for students in The Great NTUT CSIE. Telegram Bot that is for students in The Great NTUT CSIE.
@ -15,8 +17,6 @@ It runs as [@kcoj_bot](https://telegram.me/kcoj_bot) now.
## Usage ## Usage
Like this:
```bash ```bash
while true; do git pull; python3 bot.py; done while true; do git pull; python3 bot.py; done
``` ```

View File

@ -190,7 +190,7 @@ class Kuser:
bot.sendMessage(chat_id, "點我到題目頂", reply_to_message_id=reply['message_id']) bot.sendMessage(chat_id, "點我到題目頂", reply_to_message_id=reply['message_id'])
def help(self): def help(self):
bot.sendMessage(self._userid, "這裡是 kC Online Judge Bot\n" bot.sendMessage(self._userid, "這裡是 Kuo C-Language Online Judge Bot\n"
"可以簡稱 KCOJ Bot目前定居於 [" + NAME + "]\n" "可以簡稱 KCOJ Bot目前定居於 [" + NAME + "]\n"
"作用是讓大家可以方便的透過我使用郭老程設課的 Online Judge\n" "作用是讓大家可以方便的透過我使用郭老程設課的 Online Judge\n"
"➡️[OJ 傳送門](" + URL + ")\n" "➡️[OJ 傳送門](" + URL + ")\n"
@ -207,7 +207,7 @@ class Kuser:
"聯絡我請私訊 @PinLin\n" "聯絡我請私訊 @PinLin\n"
"原始碼被託管於 GitHub如果想要鼓勵我的話可以幫我按個星星> </\n" "原始碼被託管於 GitHub如果想要鼓勵我的話可以幫我按個星星> </\n"
"網址如下:\n" "網址如下:\n"
"[https://github.com/PinLin/kcoj_bot]\n\n", "[https://github.com/PinLin/KCOJ_bot]\n\n",
parse_mode='Markdown') parse_mode='Markdown')
def upload_answer(self): def upload_answer(self):