This is a Discord API client & bot that synchronises GoonAuth users from LDAP with Discord Guilds.
- Create a Discord application and note your client ID.
- Configure and start Discordian
- Discordian will print out the URL at which you can authorize Discordian for your guild.
Discordian currently runs with Administrator permissions. In the future these permissions may be locked down.
See the permission documentation for more information about this.
Discordian is configured via environment variables. Specifically:
DISCORD_CLIENT_ID
: Client ID of the Discord applicationDISCORD_CLIENT_SECRET
: Secret key for the Discord applicationDISCORD_REDIRECT_URL
: OAuth2 redirect URL for catching authentication codesDISCORD_BOT_TOKEN
: Secret token for the Discord application botLDAP_HOST
: LDAP server hostname to connect toLDAP_PORT
: LDAP server port to connect on