From 7d293c93770ca6516fb6d0a1d19eb2e5fdc4d253 Mon Sep 17 00:00:00 2001 From: alexsunxl Date: Fri, 3 Nov 2023 21:55:25 +0800 Subject: [PATCH] Modify the telegram return message --- src/aios_kernel/tg_tunnel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aios_kernel/tg_tunnel.py b/src/aios_kernel/tg_tunnel.py index 923fb14..97289e9 100644 --- a/src/aios_kernel/tg_tunnel.py +++ b/src/aios_kernel/tg_tunnel.py @@ -196,7 +196,7 @@ class TelegramTunnel(AgentTunnel): else: 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 if cm.is_auto_create_contact_from_telegram: