Skip to content

drequivalent/Dissonance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Dissonɐnce

XMPP ↔ Discord conference transport done right.

Dissonɐnce is a conference transport bot between XMPP (or, Jabber) multi-user conference and Discord channel. Its purpose is to translate some of Discord functionality into XMPP conferernce, and act as a transparent relay between the two conferencing protocols.

Features:

  • an individual connection for every Discord channel member (as if channel members are logged into XMPP conference)
  • support for multiple Discord channels mapped into different XMPP conferences
  • translation of mentions (a.k.a pings) from XMPP conference to Discord format
  • translation of mentions (a.k.a pings) from Discord format to XMPP conference
  • mentioning @everyone on Discord pings all non-Dissonɐnce-managed XMPP conference members
  • translation of links to attached files and custom emoticons from Discord to XMPP conference
  • action statements (/me command)
  • some limited command functionality

Requirements:

The program is written for Python 3, make sure it is installed in your system. The program also requires SleekXMPP and Discord.py libraries to be installed. They can be installed using following commands:

python3 -m pip install -U discord.py
python3 -m pip install -U sleekxmpp

Usage

usage: dissonance [-h] configfile

Dissonance: a Discord <> XMPP conference transport done right

positional arguments:
  configfile  an INI configuration file with login information and settings

optional arguments:
  -h, --help  show this help message and exit

INI format

[XMPP]
jid = [email protected]
jidpw = passwordtojid


[Discord]
token = your Discord bot OAuth token (given by Discord in "Add Bot" dialog)

[ChannelMap]
channel ID you want Dissonɐnce to interact [email protected]
another channel ID you want Dissonɐnce to interact [email protected]

[UI]
name = Dissonɐnce
greetmsg = Dissonɐnce: XMPP ↔ Discord conference transport done right.
connectionprefix = [
connectionsuffix = ]
loglevel = 60

Special thanks

This goes out to Jade and Sollux of [email protected]

About

XMPP ↔ Discord conference transport done right.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages