Skip to content

Commit

Permalink
完成管理员功能
Browse files Browse the repository at this point in the history
  • Loading branch information
UtopiaXC committed Mar 29, 2021
1 parent 1486fac commit b4f0e53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@

![stock_search](pics/stock_fast_list.gif)

9. ### 管理员
管理员功能为管理员提供了获取日志和对数据库操作的方法,使用前请在config中设置管理员

## 注意

Expand Down
3 changes: 2 additions & 1 deletion bot/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# 机器人链接:https://t.me/loliconApiBot
setu_Token = ""
# 管理员ID,通过本机器人的/get_me指令可以获得,支持多个管理员
admin_id = ['']
# 格式 admin_id = ['123','234']
admin_id = []
# 每名用户的自选股上限数
max_mine_stock = 20

0 comments on commit b4f0e53

Please sign in to comment.