优化提醒

This commit is contained in:
liuwei
2025-02-24 12:00:13 +08:00
parent 7ca9f3d7ea
commit 965c531156

View File

@@ -136,9 +136,9 @@ def assign_random_task(group_id, player_id=None):
f"🎁 {holder_name},你的新任务来啦!\n"
f"🎀 任务ID: {active_task_id}\n"
f"🎈 问题:{question}\n"
f"🌈 群 {group_id} 等你作答\n"
# f"🌈 群 {group_id} 等你作答\n"
f"🌼 积分:{score} \n"
f"🌈 作答格式(请手动@机器人):@a-bot /a {active_task_id} 答案 "
f"🌈 作答格式(请手动@机器人):\n @a-bot /a {active_task_id} 答案 "
)
else:
return (
@@ -146,9 +146,9 @@ def assign_random_task(group_id, player_id=None):
f"🎀 任务ID: {active_task_id}\n"
f"🌟 幸运玩家:{holder_name} \n"
f"🎈 问题:{question}\n"
f"🌈 群 {group_id} 等你抢答\n"
# f"🌈 群 {group_id} 等你抢答\n"
f"🌼 积分:{score} \n"
f"🌈 作答格式(请手动@机器人):@a-bot /a {active_task_id} 答案 "
f"🌈 作答格式(请手动@机器人):\n @a-bot /a {active_task_id} 答案 "
)
finally:
cursor.close()