mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-25 09:37:30 +00:00
🐛 Fix Incorrect Reply Message
This commit is contained in:
parent
471ed052ea
commit
20eed878ec
@ -351,13 +351,13 @@ class GroupJoiningVerification(Plugin):
|
|||||||
)
|
)
|
||||||
if new_chat_members_message:
|
if new_chat_members_message:
|
||||||
reply_message = (
|
reply_message = (
|
||||||
f"*欢迎 {user.mention_markdown_v2()} 来到「提瓦特」世界!* \n"
|
f"*欢迎来到「提瓦特」世界!* \n"
|
||||||
f"问题: {escape_markdown(question.text, version=2)} \n"
|
f"问题: {escape_markdown(question.text, version=2)} \n"
|
||||||
f"请在*{self.time_out}*秒内回答问题"
|
f"请在*{self.time_out}*秒内回答问题"
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
reply_message = (
|
reply_message = (
|
||||||
f"*欢迎来到「提瓦特」世界!* \n"
|
f"*欢迎 {user.mention_markdown_v2()} 来到「提瓦特」世界!* \n"
|
||||||
f"问题: {escape_markdown(question.text, version=2)} \n"
|
f"问题: {escape_markdown(question.text, version=2)} \n"
|
||||||
f"请在*{self.time_out}*秒内回答问题"
|
f"请在*{self.time_out}*秒内回答问题"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user