Matrix <--> Discord Bridge. Patched to ignore discord redaction events.
|
3 år sedan | |
---|---|---|
bridge | 3 år sedan | |
config | 3 år sedan | |
consts | 3 år sedan | |
database | 3 år sedan | |
globals | 3 år sedan | |
registration | 3 år sedan | |
remoteauth | 3 år sedan | |
run | 3 år sedan | |
version | 3 år sedan | |
.gitignore | 3 år sedan | |
LICENSE | 3 år sedan | |
README.md | 3 år sedan | |
example-config.yaml | 3 år sedan | |
go.mod | 3 år sedan | |
go.sum | 3 år sedan | |
main.go | 3 år sedan |
To get start with this bridge you first need to create the configuration file.
You can do that by running ./discord generate-config
. By default this will
output to config.yaml
. Edit this file as necessary.
Once you're done with the configuration file you need to generate the
registration for the Synapse. To do so run ./discord generate-registration
.
This command will update your configuration file as well where necessary.
Now that you have a registration file, be sure to add it to the
app_service_config_files
in the homeserver.yaml
file of your Synapse
install. Once you've done this, make sure to reload or restart Synapse.
You are no ready to start the bridge with ./discord
From the Matrix client of your choice, create a direct message with
@discordbot:localhost
adjusting if you changed these settings in the config.
This will be your management room with the bot.
From the management room you can now login to Discord with the login
command.
This will present you with a QRCode that you can scan with the Discord mobile
application to login. For more detailed instructions, see the
official documentation.
You should now be able to send an receive direct messages from both one on ones and group dms. However you can't currently create the dm, so you'll have to be invited while the bridge is running.
Complete:
Bugged:
Incomplete:
Not started:
<@!<userid>
in the message body.<:text:id>
.