How to would I get Discord Roles Inside Roblox

Question, how would I be able to get Discord inside Roblox?
I’ve tried and here’s the code:

Check this post: Get a user's role from a Discord server from in-game? - #2 by H_mzah

Any errors appear in console with this code?