Discourse Trust Levels for Discord

This bot would do exactly what I need, if we could get it to auto link users with their discord accounts without having to type a command on the discord. Instead just use the discourse API to retrieve accounts that have a discord account linked to their profile using this method: Configuring Discord Login for Discourse

FYI to those that do use this (I’ve recently decided to go with this solution as it completes my workflow most ideally)

Per this issue I opened: https://github.com/alkalinethunder/discourse-tl-for-discord/issues/3

This will likely stop working at some point when they disable this type of API call. Is someone willing to update the JS to use the curl method as described by discours’es new API ? Discourse API Documentation