mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-25 13:39:34 +01:00
Add syntax highlighting
parent
b80a49c602
commit
728a6359b1
@ -29,7 +29,7 @@ In the example below we want messages from channel ```#general``` on discord to
|
||||
|
||||
Just add below to the config
|
||||
|
||||
```
|
||||
```toml
|
||||
[discord.mydiscord]
|
||||
#You can get your token by following the instructions on
|
||||
#https://github.com/42wim/matterbridge/wiki/Discord-bot-setup
|
||||
@ -57,7 +57,7 @@ Modify the gateway config matching the protocols you selected above.
|
||||
For the correct ```channel=mychannel``` settings, look at [[Gateway-config-(channel-rules)]]
|
||||
And save your matterbridge.toml file
|
||||
|
||||
```
|
||||
```toml
|
||||
# this must always be [[gateway]], don't use anything else
|
||||
[[gateway]]
|
||||
name="gateway1"
|
||||
@ -74,7 +74,7 @@ channel="42wim/mygreatproject"
|
||||
### Step 6
|
||||
Full configuration looks now like this:
|
||||
|
||||
```
|
||||
```toml
|
||||
[discord.mydiscord]
|
||||
Token="MTk4NjIyNDgzNDcdOTI1MjQ4.Cl2FMZ.ZnCjm1XVW7vRze4b7Cq4se7kKWs-abD"
|
||||
Server="myserver"
|
||||
@ -100,7 +100,7 @@ channel="42wim/mygreatproject"
|
||||
### Step 7
|
||||
Run matterbridge
|
||||
|
||||
```
|
||||
```bash
|
||||
./matterbridge -conf matterbridge.toml
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user