Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
eatradish authored Aug 4, 2017
1 parent 9065ba0 commit e2b08ab
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
# 好耶酱 Bot
# haoYeBot

@eatradish 所做的 Telegram Bot,基于 python-telegram-bot 框架而做,支持群标题修改,卖萌等。
a Telegram bot, base on python-telegram-bot.

## VPS 上的 Systemctl 配置文件

这里我借助了 Systemd 使 Bot 作为守护进程运行


```
# mkdir /var/python
# cp $LOCAL/bot.py /var/python
$ cat /usr/lib/system/bot.service
[Service]
WorkingDirectory=/var/python
ExecStart=/usr/bin/python3 bot.py
User=eatradish
restart=always
# systemctl enable bot
# systemctl start bot
```
## support
- change Group title
- qpbd -> pqdb
- BMI Calculation
- ...

Telegram @eatradishhaotebot

0 comments on commit e2b08ab

Please sign in to comment.