Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.

Latest commit

 

History

History
executable file
·
41 lines (28 loc) · 621 Bytes

File metadata and controls

executable file
·
41 lines (28 loc) · 621 Bytes

lottery_bot

简介

一个用于抽奖的telegram bot

命令

help - 帮助
join - 参与抽奖
list - 显示参与名单
clear - 清空名单[admin]
lottery - 开奖![admin]

部署

git clone https://github.com/johnpoint/lottery_bot.git
cd lottery_bot
pip install -r requirements.txt
cd bot

设置BOT管理员

username填入adminlist文件中,即为bot管理员

一行一个username

token填入config.py bot的username也填入config.py

python main.py

LICENSE

GNU General Public License v3.0