Skip to content

Discord Support

Adarnof requested to merge Adarnof:discord into master

For #88 (closed) Requires 5 new settings, auth/blue enable as well as server login credentials + ID.

Discord management is notably slow. Likely because of redundant calls to get a user_id from username. I store user_id as uid in the AuthServiceInfo object however I'm trying to keep this services' functions uniform (all other services request a username). Should this be rewritten to lose uniformity but improve speed? Of concern is if there are lots of users, run_databaseUpdate will take a while if syncgroups change.

Getting it set up is pretty easy. Just needs a user account email/password combo for a user with management rights on the server and the server ID which can be retrieved from the URL.

Users have to claim the accounts they create. There's no way to set passwords through the REST API, users have to navigate to the server, enter the username, and they will be prompted for password + email. This is a big security hole, but is a flaw in the design of Discord.

As far as I can tell SyncGroupCaches are cooperating. I tested run_databaseUpdate for joining and leaving a group, it performed as expected.

How was your Thanksgiving weekend?

Merge request reports