Spoilers, major command system improvements #4

Merged
profitroll merged 27 commits from dev into master 2023-01-05 13:45:15 +02:00
Showing only changes of commit 3442a478d4 - Show all commits

View File

@ -39,6 +39,7 @@ You can see config file with all the comments below:
"admin_group": 0,
"destination_group": 0,
"remove_application_time": -1,
"search_radius": 50,
"admins": [],
"bot": {
"api_id": 0,
@ -67,35 +68,23 @@ You can see config file with all the comments below:
"sponsorships": {
"time": 9,
"enabled": true
},
"cache_avatars": {
"interval": 6,
"enabled": true
},
"cache_members": {
"interval": 30,
"enabled": true
},
"cache_admins": {
"interval": 120,
"enabled": true
}
},
"locations": {
"cache": "cache",
"locale": "locale"
},
"commands": {
"rules": "Check out the rules",
"reapply": "Resubmit the application",
"sponsorship": "Apply for sponsor role"
},
"commands_admin": {
"reboot": "Restart the bot",
"message": "Send a message",
"label": "Set user's nickname",
"warnings": "Check user's warnings",
"application": "Check user's application",
"applications": "Retrieve all applications as a JSON"
},
"commands_group_admin": {
"reboot": "Restart the bot",
"message": "Send a message",
"label": "Set user's nickname",
"warnings": "Check user's warnings",
"application": "Check user's application",
"applications": "Retrieve all applications as a JSON"
},
"commands_group_destination": {
"warn": "Warn a user"
}
}
```