mirror of
https://github.com/PaiGramTeam/luoxu-analytics-plugin.git
synced 2024-11-21 14:48:30 +00:00
update config
This commit is contained in:
parent
0ee7864ca0
commit
6b6ef6dc3a
@ -28,7 +28,7 @@ class GroupAnalyticsHandler:
|
|||||||
|
|
||||||
|
|
||||||
async def register(indexer, client: TelegramClient):
|
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)
|
handler = GroupAnalyticsHandler(client)
|
||||||
|
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
[plugin_analytics]
|
[plugin]
|
||||||
|
[plugin.analytics]
|
||||||
|
enabled = true
|
||||||
port = 9010
|
port = 9010
|
||||||
|
Loading…
Reference in New Issue
Block a user