Advertisement
BSNIKYT

[SvodkaDZ] Config Excample Json File

Apr 26th, 2024
564
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.71 KB | Help | 0 0
  1. {
  2.     "TOKEN": {
  3.         "M": {
  4.             "MECH": "",
  5.             "MECH2": ""
  6.         },
  7.         "T": {
  8.             "TELEGRAM": ""
  9.         },
  10.         "OTHER": {
  11.             "TELEGRAM_OSNOWA": "",
  12.             "TELEGRAM_TWINK": ""
  13.         }
  14.     },
  15.     "CONFIG": {
  16.         "root": {
  17.             "CMDAccess": true,
  18.             "root_passord": "root"
  19.         },
  20.         "debug": true,
  21.         "download_all_images": true,
  22.         "AutoMechAuth": {
  23.             "enable": true,
  24.             "from_config": true,
  25.             "data": [
  26.                 {
  27.                     "login": "LOGIN",
  28.                     "password": "PASSWORD"
  29.                 },
  30.                 {
  31.                     "login": "HEZ",
  32.                     "password": "LOLO"
  33.                 }
  34.             ]
  35.         },
  36.         "logs_discussion": 0,
  37.         "callback_discord_url": "https://discord.com/api/webhooks/[REPLACE_HERE]"
  38.     },
  39.     "ACCESS": {
  40.         "ROLES": {
  41.             "CREATOR": [
  42.                 "config",
  43.                 "token",
  44.                 "logs_discussion",
  45.                 "work_discussion",
  46.                 "access_users",
  47.                 "access_user_prems",
  48.                 "module_sending",
  49.                 "module_weather",
  50.                 "shutdown",
  51.                 "logs",
  52.                 "cmd"
  53.             ],
  54.             "ADMINISTRATOR": [
  55.                 "logs_discussion",
  56.                 "work_discussion",
  57.                 "module_sending",
  58.                 "module_weather",
  59.                 "shutdown",
  60.                 "logs",
  61.                 "cmd"
  62.             ],
  63.             "EDITOR": [
  64.                 "module_sending",
  65.                 "module_weather"
  66.             ]
  67.         },
  68.         "USERS": {
  69.             "111111111": "CREATOR",
  70.             "111111112": "CREATOR",
  71.             "222222222": "ADMINISTRATOR",
  72.             "333333333": "EDITOR"
  73.         }
  74.     },
  75.     "MODULES": {
  76.         "GPIO": {
  77.             "enable": true
  78.         },
  79.         "SENDING": {
  80.             "enable": true,
  81.             "discussions": [
  82.                 -1002000000000
  83.             ],
  84.             "sending_post": {
  85.                 "morning": "07:00:00",
  86.                 "evening": "18:40:00"
  87.             }
  88.         },
  89.         "WEATHER": {
  90.             "weather_language": "RU",
  91.             "city": "Moscow"
  92.         },
  93.         "MECH": {
  94.             "enable": true
  95.         },
  96.         "TASK": {
  97.             "enable": true,
  98.             "task": [
  99.                 {
  100.                     "text": "\u041f\u043e\u0441\u043b\u0430\u0442\u044c \u043d\u0438\u043b\u0430",
  101.                     "status": "\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e"
  102.                 }
  103.             ]
  104.         }
  105.     }
  106. }
  107.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement