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

72 lines
1.8 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,
"bot_id": 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,
2022-10-21 15:00:03 +03:00
"admin_group": 0,
2022-10-21 16:11:21 +03:00
"destination_group": 0,
"remove_application_time": -1,
2022-10-17 00:30:07 +03:00
"admins": [],
"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"
},
2022-12-10 16:53:30 +02:00
"scheduler": {
"birthdays": {
"time": 9,
"enabled": true
},
"sponsorships": {
"time": 9,
"enabled": true
}
},
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"
},
"commands": {
2022-10-27 16:13:58 +03:00
"rules": "Check out the rules",
2022-12-15 16:00:38 +02:00
"nearby": "Show users near the area",
2022-12-10 11:42:56 +02:00
"reapply": "Resubmit the application",
"sponsorship": "Apply for sponsor role"
2022-10-17 00:30:07 +03:00
},
"commands_admin": {
2022-10-24 15:34:05 +03:00
"reboot": "Restart the bot",
2022-12-10 18:29:06 +02:00
"message": "Send a message",
"label": "Set user's nickname",
2022-12-04 22:08:31 +02:00
"warnings": "Check user's warnings",
2022-10-28 15:49:52 +03:00
"application": "Check user's application",
2022-12-04 22:08:31 +02:00
"applications": "Retrieve all applications as a JSON"
},
"commands_group_admin": {
"reboot": "Restart the bot",
2022-12-10 18:29:06 +02:00
"message": "Send a message",
"label": "Set user's nickname",
2022-12-04 22:08:31 +02:00
"warnings": "Check user's warnings",
"application": "Check user's application",
"applications": "Retrieve all applications as a JSON"
},
"commands_group_destination": {
2022-12-15 16:00:38 +02:00
"warn": "Warn a user",
"nearby": "Show users near the area"
2022-10-17 00:30:07 +03:00
}
}