fix: QQBot missing integration points, timestamp parsing, test fix

- Add Platform.QQBOT to _UPDATE_ALLOWED_PLATFORMS (enables /update command)
- Add 'qqbot' to webhook cross-platform delivery routing
- Add 'qqbot' to hermes dump platform detection
- Fix test_name_property casing: 'QQBot' not 'QQBOT'
- Add _parse_qq_timestamp() for ISO 8601 + integer ms compatibility
  (QQ API changed timestamp format — from PR #2411 finding)
- Wire timestamp parsing into all 4 message handlers
This commit is contained in:
Teknium
2026-04-13 22:46:50 -07:00
committed by Teknium
parent 884cd920d4
commit 4654f75627
5 changed files with 26 additions and 6 deletions

View File

@@ -93,7 +93,7 @@ class TestQQAdapterInit:
def test_name_property(self):
adapter = self._make(app_id="a", client_secret="b")
assert adapter.name == "QQBOT"
assert adapter.name == "QQBot"
# ---------------------------------------------------------------------------