An IRC <-> Discord bridge with support for modern IRCv3 features.
Features:
- Join / Part / Kick / Disconnect
- Typing notifications
- Message replies support
- Image embedding support
- Advanced Discord->IRC formatting support
Requires Go.
To install:
go install github.com/delthas/discord-ircv3@master
- Create a Discord app
- In your bot page, enable the "Server Members Intent" and "Message Content Intent" intents, under "Privileged Gateway Intents"
- Get your application OAuth2 Client ID from the application OAuth2 page
- Add the bot to all your servers by opening the following URL, replacing the Client ID with your Client ID:
https://discord.com/oauth2/authorize?permissions=274878024704&scope=bot&client_id=<YOUR_APPLICATION_OAUTH2_CLIENT_ID>
- Generate a token for the bot from the application Bot page, and save it for the next step
Copy and edit config.yaml.example
into config.yaml
:
- The
discordToken
is the Bot token obtained from the previous step - The Discord channel IDs can be obtained after "Developer Mode" is enabled in your user settings in the "Advanced" page, by right-clicking channels and selecting "Copy Channel ID"
Then,
discord-irc
Used in a small-scale deployment for 1 year.
MIT