Modify the telegram return message

This commit is contained in:
alexsunxl
2023-11-03 21:55:25 +08:00
parent 5eced91432
commit 7d293c9377
+1 -1
View File
@@ -196,7 +196,7 @@ class TelegramTunnel(AgentTunnel):
else: else:
if self.allow_group != "guest": if self.allow_group != "guest":
await update.message.reply_text(f"You're not supposed to talk to me! Please contact my father~") await update.message.reply_text(f"The current Telegram account is not in the contact list. If you want to receive a reply, you can add the configuration in the contacts.toml file or switch tunnel to guest mode.")
return return
if cm.is_auto_create_contact_from_telegram: if cm.is_auto_create_contact_from_telegram: