This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Telegram/config_example.json

244 lines
5.2 KiB
JSON
Raw Permalink Normal View History

2022-10-17 00:30:07 +03:00
{
2022-10-20 13:24:32 +03:00
"locale": "uk",
2022-10-26 14:30:24 +03:00
"debug": false,
2022-10-17 00:30:07 +03:00
"owner": 0,
2022-10-21 15:00:03 +03:00
"age_allowed": 0,
2023-01-23 12:25:01 +02:00
"age_maximum": 70,
2022-10-27 12:40:15 +03:00
"api": "http://example.com",
2023-01-23 15:39:38 +02:00
"issues": "https://github.com/example/test/issues/new",
"inline_preview_count": 7,
"remove_application_time": -1,
2022-12-31 00:29:17 +02:00
"search_radius": 50,
2022-10-17 00:30:07 +03:00
"admins": [],
2023-01-04 20:14:02 +02:00
"groups": {
"admin": 0,
"users": 0
},
2022-10-17 00:30:07 +03:00
"bot": {
"api_id": 0,
"api_hash": "",
"bot_token": ""
},
2022-12-10 12:37:15 +02:00
"database": {
"user": null,
"password": null,
"host": "127.0.0.1",
"port": 27017,
"name": "holochecker"
},
2022-12-14 14:56:58 +02:00
"geocoding": {
"username": "demo"
},
2022-10-17 00:30:07 +03:00
"logging": {
"size": 512,
"location": "logs"
},
2023-01-03 21:34:44 +02:00
"features": {
2023-01-03 22:46:16 +02:00
"general": {
"enabled": true
},
2023-01-03 21:34:44 +02:00
"applications": {
"enabled": true
},
"sponsorships": {
"enabled": true
},
"warnings": {
2023-01-04 22:56:37 +02:00
"enabled": true
2023-01-03 21:34:44 +02:00
},
"invites_check": {
"enabled": true
},
"dinovoice": {
"enabled": false
2023-01-04 22:56:37 +02:00
},
"spoilers": {
"enabled": true,
"allow_external": true
2023-01-03 21:34:44 +02:00
}
},
2022-12-10 16:53:30 +02:00
"scheduler": {
"birthdays": {
"time": 9,
"enabled": true
},
"sponsorships": {
"time": 9,
2023-04-19 11:31:25 +03:00
"grayout_days": 2,
2022-12-10 16:53:30 +02:00
"enabled": true
2022-12-18 00:25:53 +02:00
},
"cache_avatars": {
"interval": 6,
"enabled": true
},
"cache_members": {
"interval": 30,
"enabled": true
},
"cache_admins": {
"interval": 120,
"enabled": true
},
"channels_monitor": {
"interval": 5,
"enabled": true,
"channels": []
2023-04-02 17:44:46 +03:00
},
"warnings_revocation": {
"interval": 6,
"enabled": true
2022-12-10 16:53:30 +02:00
}
},
2022-10-17 00:30:07 +03:00
"locations": {
2022-10-26 15:56:42 +03:00
"cache": "cache",
2022-10-17 00:30:07 +03:00
"locale": "locale"
2023-01-03 22:36:26 +02:00
},
"commands": {
"rules": {
"permissions": [
"users",
"admins"
],
"modules": [
"general"
]
},
2023-01-04 20:58:54 +02:00
"spoiler": {
"permissions": [
"users",
"admins"
2023-01-04 22:56:37 +02:00
],
"modules": [
"spoilers"
2023-01-04 20:58:54 +02:00
]
},
2023-01-03 22:36:26 +02:00
"cancel": {
"permissions": [
"users",
"admins"
],
"modules": [
2023-01-04 22:56:37 +02:00
"spoilers",
2023-01-03 22:36:26 +02:00
"applications",
"sponsorships"
]
},
"nearby": {
"permissions": [
"users",
"admins",
"group_admins"
],
"modules": [
"applications"
]
},
"warn": {
"permissions": [
"group_users_admins"
2023-01-03 22:36:26 +02:00
],
"modules": [
2023-03-01 20:16:13 +02:00
"warnings"
]
},
"warnings": {
"permissions": [
"admins",
"group_admins"
],
"modules": [
2023-01-03 22:36:26 +02:00
"warnings"
]
},
"reapply": {
"permissions": [
"users",
"admins"
],
"modules": [
"applications"
]
},
"sponsorship": {
"permissions": [
"users",
"admins"
],
"modules": [
"sponsorships"
]
},
"reboot": {
"permissions": [
2023-01-05 13:41:55 +02:00
"owner"
2023-01-03 22:36:26 +02:00
],
"modules": [
"general"
]
},
"label": {
"permissions": [
"admins",
"group_admins"
],
"modules": [
"applications"
]
},
"message": {
"permissions": [
"users",
2023-01-03 22:36:26 +02:00
"admins",
"group_admins"
],
"modules": [
"general"
]
},
"identify": {
"permissions": [
"admins",
"group_admins"
],
"modules": [
"applications",
"sponsorships"
]
},
2023-01-23 15:39:38 +02:00
"issue": {
"permissions": [
"users",
"admins"
],
"modules": [
"general"
]
},
"export": {
2023-01-03 22:36:26 +02:00
"permissions": [
"admins",
"group_admins"
],
"modules": [
"general"
2023-01-03 22:36:26 +02:00
]
},
"application": {
2023-01-03 22:36:26 +02:00
"permissions": [
"admins",
"group_admins"
],
"modules": [
"applications"
]
2023-01-05 13:41:55 +02:00
},
"resetcommands": {
"permissions": [
"owner"
],
"modules": [
"general"
]
2023-01-03 22:36:26 +02:00
}
2022-10-17 00:30:07 +03:00
}
}