From 2e65c7acaec0000f5f85fd66cd8746ce6d809bb5 Mon Sep 17 00:00:00 2001 From: git-bruh Date: Sun, 24 Jan 2021 12:05:45 +0530 Subject: [PATCH] readme --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 748f63c..00fb823 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,20 @@ A simple non-puppeting bridge between Matrix and Discord written in Python. * 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). * Apply `use_client_emojis.patch` to make the Discord bot use emojis from all it's servers.