A Discourse plugin that runs a Discord bot to keep things synced between a Discourse forum and a Discord server.
This plugin depends on Discord OAuth2 to identify and link Discourse-Discord accounts. If you don't want to allow users to login with Discord, but you wish to keep linking account, check the solution to this topic.
This bot will sync all public Discourse groups with Discord roles. It will automatically trigger an update when an user links their Discord account, user groups are changed or profile gets updated.
- Follow the standard guide at How to install a plugin? with this repository URL.
- Follow this guide to set up Login with Discord in your Discourse instance.
- In the Discord Developer portal, go to Bot, and add it to your server. Make sure you grant him the highest possible role.
- In Discourse, in Plugin Settings, set
discord sync token
with the Bot token that appears in the previous step.
discord sync enabled
: Whether or not to enable the integrationdiscord sync token
: Bot token from Discorddiscord sync prefix
: Prefix for commands (just!ping
by now)discord sync admin channel id
: Channel to post logging messages (nick changes, role changes)discord sync username
: If true, it will sync all Discord server nicknames to their Discourse usernamediscord sync verified role
: Role to add to all users who have a Discourse accountdiscord sync safe roles
: List of roles that bot will ignore and will mark as manually granted in Discord