mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
fix config
This commit is contained in:
parent
b2b7560d05
commit
f99abb2f98
@ -180,7 +180,7 @@ async def _(bot: Bot, event: GroupMessageEvent, arg: Message = CommandArg()):
|
|||||||
await show_word.finish("该群未收录任何词条..")
|
await show_word.finish("该群未收录任何词条..")
|
||||||
_problem_list = [f"\t{i}. {x}" for i, x in enumerate(_problem_list)]
|
_problem_list = [f"\t{i}. {x}" for i, x in enumerate(_problem_list)]
|
||||||
long_problem_list = len(_problem_list)
|
long_problem_list = len(_problem_list)
|
||||||
max_line = 25
|
max_line = Config.get_config("word_bank", "WORD_BANK_MIX")
|
||||||
if long_problem_list > max_line:
|
if long_problem_list > max_line:
|
||||||
pic_list = []
|
pic_list = []
|
||||||
mes_list = []
|
mes_list = []
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user