2020-11-11 16:46:15 +01:00
|
|
|
# matrix-discord-bridge
|
2020-11-12 15:59:10 +01:00
|
|
|
|
2020-11-14 14:43:25 +01:00
|
|
|
A simple 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`
|
|
|
|
|
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
|
|
|
|
|
|
|
|
* Random Discord message fails to be deleted on Matrix.
|
|
|
|
* Discord messages lose their relation (if replying) to Matrix messages on being edited.
|
|
|
|
|
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
|