Implemented the ability to enable and disable commands in configuration as well as increased scope of the config to the entire project.

This commit is contained in:
Eclipse
2022-09-18 14:15:11 -04:00
parent e0176ca774
commit 44a42a3365
6 changed files with 309 additions and 165 deletions

View File

@@ -30,6 +30,31 @@
"bottoken": "",
"realtimeChannelID": ""
},
"ServerCommands": {
"enabled": true,
"Commands": [
{
"name": "Rights",
"enabled": true,
"prefix": "!rights"
},
{
"name": "Ravi",
"enabled": true,
"prefix": "!ravi"
},
{
"name": "Tele",
"enabled": true,
"prefix": "!tele"
},
{
"name": "Reload",
"enabled": true,
"prefix": "!reload"
}
]
},
"database": {
"host": "localhost",
"port": 5432,