<< Back to news

Improved Discord Role Integration

News

Written by LunarSpotlight
Tuesday, 20-Aug-24 21:33:58 UTC


This week, we worked on improving role integration between Discord and GensokyoRadio.net. For more details, read on!

Some time ago, we introduced MikoBot, a Discord bot originally made for member verification back when the vanity url for our community server was two letters (we had a lot of folks join who had no idea what our space was related to). Later, we introduced role integration originally meant as an additional signal for community members, and this grew to include roles for Listener, Indigo, and Indigo+. However, we needed some way to bridge the gap between the type of membership on GensokyoRadio.net and Discord.

The first way this was done was via a bot command. Using /register via MikoBot, users were able to enter in a key which could be generated on the website’s account page. Doing so would allow the website to associate a Discord user ID with a website account. About a month after this was released, Discord released Linked Roles which could tie-in with our service, but would need a different approach.

Now, listeners are able to update their Discord roles by visiting the account page on the website (link at bottom of any page) and using the Discord button. Roles should update automatically with changes in Indigo membership, but listeners can also manually update their own roles. This update uses Discord’s OAuth2 system and an offline role-assignment bot which you’ll see the icon for when registering.

That’s all for this week, go nab your Listener (or Indigo) role if you haven’t already, and thanks for listening!

[Knowledge #179]



Suggested Posts