Skip to content

Connects Discord and IRC channels by sending messages back and forth.

License

Notifications You must be signed in to change notification settings

U413/discord-irc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-irc

Build Status

Discord and IRC relay for U413. Forked from reactiflux/discord-irc

Example

discord-irc

What's different?

This version supports end-to-end encryption, and is compatible with the DiscordEncryption plugin.

Usage

This package is not on npm, so you will have to do some manual cloning and building

$ git clone [email protected]:U413/discord-irc
$ cd discord-irc

If using yarn:

$ yarn
$ yarn build && yarn start --config ./config.json

OR If using npm:

$ npm install
$ npm run build && npm start -- --config ./config.json

As indicated, you must set up a config.json file to be passed as an argument.
To configure, follow the same rules as the original project.

With this project however, it can take in an extra encryption parameter as an object mapping the discord channels to the secrets to be used for encryption and decryption.
The first secret in the list will be used by default for encryption, and it will be your primary secret.
The other secrets in the list (including the primary) will be used for decryption. The bot will try to decrypt with all secrets one by one until one works, or it will indicate that decryption has failed.

[
    {
        "nickname": "test",
        "server": "irc.testbot.org",
        "discordToken": "botwantsin123",
        "channelMapping": {
            "#other-discord": "#new-irc-channel"
        },
        // ...Other discord-irc config parameters
        "encryption": {
            "other-discord": ["main-secret", "other-secret1", "other-secret2"]
        }
    }
]

About

Connects Discord and IRC channels by sending messages back and forth.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%