word_cloud_bot/config.gen.py

30 lines
840 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

TOKEN = "token here"
# 频率限制次数每个群每小时内只能主动触发2次任务
LIMIT_COUNT = 2
# 私有模式,仅授权群组可用 False:关闭 True:打开
EXCLUSIVE_MODE = False
# 配置私有模式群组id列表不私有请忽略 例如:[-1001324252532, -100112415423]
EXCLUSIVE_LIST = []
# 主动触发命令仅管理员有效 False:否 True:是
RANK_COMMAND_MODE = True
# 中文字体路径
FRONT = 'fonts/ZhuZiAWan-2.ttc'
# Redis 配置
REDIS_CONFIG = {'host': '127.0.0.1', 'port': 6379, 'db': 1}
# 拥有者 id 配置
OWNER = 0
# 日志频道 id 0 为不启用
CHANNEL = 0
# 帮助信息
HELP = '<b>Group Word Cloud Bot</b>\n\n/start - 查看此帮助信息\n/ping - 我还活着吗?\n/rank - 手动生成词云(绒布球)\n\n' \
'此项目开源于https://git.io/JnrvH'