kuskoman / moonbot

BSD Zero Clause License
0 stars 0 forks source link

Change config structure to allow nestest structures in config.json #10

Open kuskoman opened 4 years ago

kuskoman commented 4 years ago

Instead of haveing flat config allow to nest objects inside of it Example: current config:

{
   // [...]
  "lavalinkHost": "localhost",
  "lavalinkPassword": "",
  "lavalinkPort": "2333",
   // [...]
}

nested config:


{
   "lavalink": {
      "host": "localhost",
      "password": "",
      "port": "2333"
   }
}