Ideas for making a Discord bot.

If you follow me on Twitter you may have noticed me talking about Slack alternatives, in particular Matrix. Whilst I love those solutions I’ve been having a real hard time getting my users on to the new platform. The time has come where I’ve decided that if they’re not coming to me, I’m going to them.

Introducing Discord.

I say introducing but let’s be honest, you know what Discord is! You probably use it to talk to your mates online and that’s my point, most people already use it! So my plan is to leverage the exisitng platform for the new chat system, then they’ve really got no excuse for not using the chat!

The issue is that the server needs to be restricted to members of the organisation only, how exactly can you do this in Discord without a moderator going through and adding hundreds of users to the right groups? My idea is to create a Discord bot that searched the existing societies’ user database and then authenticates adds their connected Discord account to th relevant groups. In theory, this is a pretty easy build as all it really requires is the ability to search a database then add the listed user to permission groups. Although, the way the organisaton manages and stores user data is far from standard! The organisation runs a GitLab instance, the nicce thing with this is that it has a built in OAuth server which I could use along side the bot… we’ll see.

Follow the progress.

If you’ve been wondering how to do a similar sort of thing, or maybe you’re just curious as to my particular implementation of it; you can follow along the progress on my GitHub and watch me constantly complain about it on my Twitter.

Anyways, that’s what I’ve got so far. I’ll post an update here when I’ve got things working and explain the magic behind it.

~vectre