隐藏群用户ID
This commit is contained in:
@@ -369,7 +369,7 @@ def show_active_tasks(group_id, player_id):
|
|||||||
task_text += (
|
task_text += (
|
||||||
f"🌈 任务ID: task_{task['active_task_id']}\n"
|
f"🌈 任务ID: task_{task['active_task_id']}\n"
|
||||||
f"🎀 问题:{task['question']}\n"
|
f"🎀 问题:{task['question']}\n"
|
||||||
f"🌼 持有者:{task['player_name']} (ID: {task['player_id']})\n"
|
f"🌼 持有者:{task['player_name']} \n"
|
||||||
)
|
)
|
||||||
return task_text
|
return task_text
|
||||||
finally:
|
finally:
|
||||||
@@ -400,7 +400,7 @@ def list_uncompleted_tasks(group_id, player_id):
|
|||||||
task_text += (
|
task_text += (
|
||||||
f"🌈 任务ID: task_{task['active_task_id']}\n"
|
f"🌈 任务ID: task_{task['active_task_id']}\n"
|
||||||
f"🎀 问题:{task['question']}\n"
|
f"🎀 问题:{task['question']}\n"
|
||||||
f"🌼 所属:{task['player_name']} (ID: {task['player_id']})\n"
|
f"🌼 所属:{task['player_name']}\n"
|
||||||
)
|
)
|
||||||
return task_text
|
return task_text
|
||||||
finally:
|
finally:
|
||||||
|
|||||||
Reference in New Issue
Block a user