I like the Discord widget and how easy it was to implement it. Unfortunately, the widget does not quite display what we would like it to display.
Current version displays:
Discord logo
Count of members online
Voice channels
List of members online
Link to join Discord server
What we would like to display instead:
Discord logo
Count of members online
Custom channels (e.g. #wiki, #news, #support, etc.) - we don't really use voice channels, because we are a bunch of shy, but nice people
Link to join Discord server
I know that changing the current version for DiscordIntegrator will probably not be applicable for everyone, that's why I think I would have to make my own version of it. If I understand correctly, I would have to copy the JS code from this DiscordIntegrator, paste it into the Common.js and modify it. My knowledge of JS is limited to making simple calculators on our wiki. I would have to find documentation of Discord API (probably this one?) and just add the custom channels. Then remove the code that is not needed. I have looked and found that there is Discord.js and DiscordChat.js, but none of these have the functionality that I am looking for (also I can't get DiscordChat to show on our wiki). Is it even possible to add custom channels to the widget? Does anyone have an info on where to find the information I am looking for or a link to a source?
Thank you for the work you do around here.
PS: If anyone has a code that I can use, I am more than happy to use it. :)