Add blacklist system #96
Labels
No labels
bug
config update
documentation
duplicate
enhancement
in dev
input needed
new feature
not in draft
refactor
waiting on docs update
wont-do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Sirdog/EnduraBot#96
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Now that EnduraBot is getting more mature and beginning to interact with a DB and external APIs something that needs to be considered is people misusing the bot.
Perhaps it's not even malicious, but API rate limits and DB interactions are a thing, and I am by no means a developer with professional knowledge to properly harden or log to mitigate against this. Sometimes people take a joke too far because they are human. In this case, I don't think it's necessary or healthy to force them to be timed out, kicked, or banned.
I'll just revoke their access to use the bot and call it a day.
I had considered in my head whether to make this restriction for the entire bot, or just commands that hit APIs, and I've settled on the former. It would be a lot more work to perform the latter, and I shouldn't be catering to someone who is being enough of a menace to warrant me considering blacklisting.
So, desired functionality is that a command exists which allows the blacklisting of individuals from using EnduraBot. If such a user attempts to execute any command it should fail. The list of blacklisted users will be on a DB table and a class will be made for blacklist management.
This I need to remember: