转发功能

This commit is contained in:
zihanjian
2025-11-13 11:53:57 +08:00
parent f1912a5b84
commit 4448f46a81
6 changed files with 306 additions and 26 deletions

View File

@@ -94,3 +94,7 @@ class Config(object):
self.AUTO_ACCEPT_FRIEND_REQUEST = yconfig.get("auto_accept_friend_request", False)
self.MAX_HISTORY = yconfig.get("MAX_HISTORY", 300)
self.SEND_RATE_LIMIT = yconfig.get("send_rate_limit", 0)
self.MESSAGE_FORWARDING = yconfig.get(
"message_forwarding",
{"enable": False, "rules": []}
)