unify xmpp bots: single xmpp_agent_core.py + --agent param wrappers

This commit is contained in:
2026-06-20 01:05:01 +08:00
parent ee86052219
commit 2d0f390657
5 changed files with 451 additions and 368 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env python3
"""Wrapper for xmpp_agent_core.py --agent mohe"""
import sys, os
sys.argv = [sys.argv[0], '--agent', 'mohe']
exec(open(os.path.join(os.path.dirname(__file__), 'xmpp_agent_core.py')).read())