Skip to content

Repository files navigation

Dis4IRC

A modern Discord <-> IRC Bridge

Published under the MIT License

Features

  • Markdown and Modern IRC Client Features
  • Paste support for long messages
  • Channel Join/Quit broadcasts
  • Discord webhook support
  • Non-prefixed messages for other IRC bots to handle
  • IRC anti-ping zero width character in usernames

Getting Started

Please see the Getting Started page

Example Config

# Dis4IRC Configuration File# A list of bridges that Dis4IRC should start up# Each bridge can bridge multiple channels between a single IRC and Discord Serverbridges {
# A bridge is a single bridged connection operating in its own space away from all the other bridges# Most people will only need this one default bridgedefault {
# Relay joins, quits, parts, and kicksannounce-joins-and-quits=false# Relay extra verbose information you don't really need like topics and mode changes.announce-extras=false# Mappings are the channel <-> channel bridging configurationschannel-mappings {
"712345611123456811"="#bridgedChannel"
}
# Your discord API key you registered your bot withdiscord-api-key="NTjhWZj1MTq0L10gMDU0MSQ1.Zpj02g.4QiWlNw9W5xd150qXsC3e-oc156"# Match a channel id to a webhook URL to enable webhooks for that channeldiscord-webhooks {
"712345611123456811"="https://discordapp.com/api/webhooks/712345611123456811/blahblahurl"
}
commands {
pinned {
enabled="true"
}
stats {
enabled="true"
}
}
# Configuration for connecting to the IRC serverirc {
anti-ping=truenickname=TestBridge2# Messages that match this regular expression will be passed to IRC without a user prefixno-prefix-regex="^\\.[A-Za-z0-9]"# A list of __raw__ irc messages to sendinit-commands-list=[
"PRIVMSG NICKSERV info",
"PRIVMSG NICKSERV help"
]
port="6697"realname=BridgeBotserver="irc.esper.net"use-ssl=trueusername=BridgeBot
}
mutators {
paste-service {
max-message-length=450max-new-lines=4# Number of days before paste expires. Use 0 to never expire.paste-expiration-in-days=7
}
}
}
}
debug-logging=true

The Name

The name is a typo of a typo of a bad idea of a misspoken phrase. Let's just not go there :p

Built using

About

A modern Discord <-> IRC bridge

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages