This commit is contained in:
git-bruh 2021-01-24 12:05:45 +05:30
parent 930627613f
commit 2e65c7acae
No known key found for this signature in database
GPG key ID: E1475C50075ADCE6

View file

@ -12,6 +12,20 @@ A simple non-puppeting bridge between Matrix and Discord written in Python.
* Edit `config.json` * Edit `config.json`
```
{
"homeserver": "https://matrix.org",
"username": "@name:matrix.org",
"password": "my-secret-password",
"token": "my-secret-token",
"discord_prefix": "my-command-prefix", # Prefix for Discord commands
"bridge": {
"channel_id": "room_id", # Bridge multiple channels and rooms
"channel_id2": "room_id2"
}
}
```
* 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). * 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).
* Apply `use_client_emojis.patch` to make the Discord bot use emojis from all it's servers. * Apply `use_client_emojis.patch` to make the Discord bot use emojis from all it's servers.