优化提醒

This commit is contained in:
liuwei
2025-02-24 11:58:48 +08:00
parent 1d47acc05e
commit 7ca9f3d7ea

View File

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