update config

This commit is contained in:
xtaodada 2023-09-14 21:32:22 +08:00
parent 0ee7864ca0
commit 6b6ef6dc3a
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659
2 changed files with 4 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class GroupAnalyticsHandler:
async def register(indexer, client: TelegramClient):
port: int = int(indexer.config['plugin_analytics']['port'])
port: int = int(indexer.config['plugin']['analytics']['port'])
handler = GroupAnalyticsHandler(client)

View File

@ -1,2 +1,4 @@
[plugin_analytics]
[plugin]
[plugin.analytics]
enabled = true
port = 9010