-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[API PROPOSAL] Allow/Deny list #2210
Comments
When I mentioned API, I was also thinking
I am not sure how it would be stored, but I think storing roles should be separate from the list of users |
I think the Also if there's a context menu, that would require users of such lists to be registered somehow so that you can choose which filter to add them to. Not necessarily an issue, but needs to be addressed. |
I will do a touch-up and edit the issue with a better formed idea taking into account what was said. |
Hi, I'm interested in contributing to this @Vendicated Is this the issue tracking the per-plugin whitelist/blacklists? |
Content
So, I was on the Vencord discord server, and brought an idea for a plugin.
An allow/deny list for the
NoReply
plugin, which brought @Sqaaakoi to comment that there should be an API.I decided to bring it upon myself to create such request, which since I've kinda dealt with this issue in the past I wanna try my best to help.
Since my original proposal only centered around users this bit is new:
List types
The guild and channel lists would be just simple lists, containing the IDs for them.
User lists
The user lists oughta be one of the more complex ones because you might want to add more filtering than just by selecting a single user, my proposal is
Allow/Deny listing:
Priority
I think a sensible priority would be:
ID > Name > Guild Role
Since we want to always respect user decision first, then the most notable part of the personalization (people forget changing their roles a lot), roles and then default.
UI Helper
As per the github thread, this could be a UI helper, where you define the lists and it gets automatically added to their respective context menus, (guild, user).
Vendicated example:
Too much clutter
As it was mentioned, if plugins are gonna have one submenu only containing one list, it would be kindoff annoying to navigate and unecessary.
Since all the plugins are all in-house we could just have a defined set of categories so that they fit nicely, or have plugins with only one entry be shown without a submenu.
API Examples
Vendicated example:
Request Agreement
The text was updated successfully, but these errors were encountered: