DIRCord

From ChewWiki
Jump to navigation Jump to search

DIRCord was an IRC relay designed to be used on a Discord server developed by Chew. Users could use the software, it would create a server on Discord, and for every channel that was created, the user would join on the configured IRC network. It was built using Ruby on top of the cinch library to connect to IRC, and discordrb library to connect to Discord. It was abandoned mid-2019.

Features

The library was designed to be users who still wanted to talk to users on IRC without wanting to use an IRC client. Every channel on the Discord would link to a channel on the configured IRC network.

Configuration

Users could run the setup.rb script to configure everything in a nice, organized matter. The following options in the config.yaml were as follows:

Config.yaml options
Name Description
nickname The bot's nickname on IRC.
server The IRC server for the bot to connect to.
realname The IRC bot's "real name."
username The IRC bot's username, shown after the @ in a user's host.
nickservpass The password to authenticate with NickServ on the IRC network.
ssl Whether to enable SSH when connecting to IRC.
port The port to use when connecting to the IRC network.
token The token used to connect to the Discord bot.
server_id The server ID to listen to.
user_id The user ID of the Discord user to listen to.

Limitations

Unlike a custom IRC client, using Discord had its limitations. Notably, the user list on the sidebar would not update to reflect the IRC member list. Additionally, the user's role in that channel wouldn't accurately reflect.

History

On May 7th, 2018, the initial files in the repository were made.[1] Several commits were added throughout the following days, building out the platform into what it is now. There was a one year gap between May 9th, 2018 and May 18th, 2019.[2] From there, some more commits would be done throughout the next month, before its final commit would be pushed.

References