2020-11-11 16:46:15 +01:00
# matrix-discord-bridge
2020-11-12 15:59:10 +01:00
2020-12-23 05:52:13 +01:00
A simple non-puppeting bridge between Matrix and Discord written in Python.
2020-11-12 15:59:10 +01:00
## Installation
`pip install -r requirements.txt`
## Usage
* Run `main.py` to generate `config.json`
* Edit `config.json`
2021-01-02 13:58:24 +01:00
* Normal Discord bot functionality like commands can be added to the bot via [cogs ](https://discordpy.readthedocs.io/en/latest/ext/commands/cogs.html ), example [here ](https://gist.github.com/EvieePy/d78c061a4798ae81be9825468fe146be ).
2020-11-16 09:41:13 +01:00
NOTE: [Privileged Intents ](https://discordpy.readthedocs.io/en/latest/intents.html#privileged-intents ) must be enabled for your Discord bot.
2020-11-14 06:03:15 +01:00
2020-12-10 13:57:46 +01:00
## Known Issues
2020-12-23 11:53:10 +01:00
* Messages lose their relation on being edited (replies).
2020-12-10 13:57:46 +01:00
2020-11-12 15:59:10 +01:00
## What Works
- [x] Sending messages
2020-11-13 11:08:28 +01:00
- [x] Discord webhooks (with avatars)
2020-12-02 16:04:12 +01:00
- [x] Attachments (Converted to URLs)
- [x] Typing status (Not very accurate)
2020-11-15 16:33:54 +01:00
- [x] Redacting messages
2020-12-10 13:26:00 +01:00
- [x] Editing messages
2020-11-29 16:33:49 +01:00
- [x] Replies
2020-12-12 11:12:05 +01:00
- [x] Bridging multiple channels/rooms