Skip to content

Convert all functions to utilize Server ID to delineate users#145

Open
Enraa wants to merge 43 commits into
mainfrom
Split-By-Server
Open

Convert all functions to utilize Server ID to delineate users#145
Enraa wants to merge 43 commits into
mainfrom
Split-By-Server

Conversation

@Enraa

@Enraa Enraa commented Jun 16, 2026

Copy link
Copy Markdown
Owner

This will make all functions separate stored data by server in addition to by user.

Also includes function for tracking first parameter supplied to ensure code cleanliness. An exemption will be made for consent as that is fairly universal if one consents in one place.

Enraa added 30 commits June 14, 2026 22:10
This modifies all getter/setter functions and the ___functions.js files to utilize a new function called at the beginning where appropriate to check if the first param is a server ID, and crash the bot if it's not.

This is for testing and once no crashes occur because of this, it can be removed in the future.
Now I just gotta check commands and items
Enraa added 13 commits June 20, 2026 23:21
This modifies index.js to include a function to hopefully build the new server based data structure.

Also includes a potential fix to ignore any message with forwarded or crossposted content.
It made no sense to make that global lol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant