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: Configure Discord Login for Discourse