Currently, there isn't a limitation of how much a server can use BulletBot. This works fine when the bot is hosted privately but is very risky when you want to host it publicly. Users could for example spam cases and fill up the database or make infinite youtube webhooks.
Describe the feature you'd like in detail
To mitigate this, a limit system should be put in place. There should be default limits specified in the settings doc and custom limits should also be able to be set in the guild docs. That way we can ensure that nobody overuses the bot and at the same time also give unlimited (or more) access to people we trust (or give us something in return). The different types of limitations still need to be discussed, though below are my current, still incomplete, suggestions.
Suggested Limits
Cases
Max Cases Limit: A server can only have limited cases. If the limit is reached, the oldest cases get deleted
Store Time: The bot only stores the cases for a set amount of time. After that, they are deleted.
Webhooks
Max Webhook Limit: same as for the cases
Message Limit: the messages can only have a set amount of chars
PActions
Max Pending Time Limit: for example, a temporary mute can't be set to 6000 months
Commands
Lock Commands: commands can be disabled, so servers can't use them. This is also helpful if a problem with a feature or command was found.
Filters
Same as the commands
Megalog
Same as the commands just with functions
Logs
Same as with Cases just for logs
Bot itself
Max Inactive Time: if a server hasn't shown any activity for too long, the bot will automatically leave and delete all its data
Is your feature request related to a problem?
Currently, there isn't a limitation of how much a server can use BulletBot. This works fine when the bot is hosted privately but is very risky when you want to host it publicly. Users could for example spam cases and fill up the database or make infinite youtube webhooks.
Describe the feature you'd like in detail
To mitigate this, a limit system should be put in place. There should be default limits specified in the settings doc and custom limits should also be able to be set in the guild docs. That way we can ensure that nobody overuses the bot and at the same time also give unlimited (or more) access to people we trust (or give us something in return). The different types of limitations still need to be discussed, though below are my current, still incomplete, suggestions.
Suggested Limits