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

206 lines
4.3 KiB
JSON
Raw 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,
2022-10-27 12:40:15 +03:00
"api": "http://example.com",
"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
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,
"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
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_users",
"group_admins"
],
"modules": [
"applications"
]
},
"warn": {
"permissions": [
"group_users"
],
"modules": [
"warnings"
]
},
"reapply": {
"permissions": [
"users",
"admins"
],
"modules": [
"applications"
]
},
"sponsorship": {
"permissions": [
"users",
"admins"
],
"modules": [
"sponsorships"
]
},
"reboot": {
"permissions": [
"admins",
"group_admins"
],
"modules": [
"general"
]
},
"label": {
"permissions": [
"admins",
"group_admins"
],
"modules": [
"applications"
]
},
"message": {
"permissions": [
"admins",
"group_admins"
],
"modules": [
"general"
]
},
"identify": {
"permissions": [
"admins",
"group_admins"
],
"modules": [
"applications",
"sponsorships"
]
},
"application": {
"permissions": [
"admins",
"group_admins"
],
"modules": [
"applications"
]
},
"applications": {
"permissions": [
"admins",
"group_admins"
],
"modules": [
"applications"
]
}
2022-10-17 00:30:07 +03:00
}
}