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

johnpoint/lottery_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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