mirror of
https://github.com/42wim/matterbridge.git
synced 2025-02-18 06:20:48 +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
|
Just add below to the config
|
||||||
|
|
||||||
```
|
```toml
|
||||||
[discord.mydiscord]
|
[discord.mydiscord]
|
||||||
#You can get your token by following the instructions on
|
#You can get your token by following the instructions on
|
||||||
#https://github.com/42wim/matterbridge/wiki/Discord-bot-setup
|
#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)]]
|
For the correct ```channel=mychannel``` settings, look at [[Gateway-config-(channel-rules)]]
|
||||||
And save your matterbridge.toml file
|
And save your matterbridge.toml file
|
||||||
|
|
||||||
```
|
```toml
|
||||||
# this must always be [[gateway]], don't use anything else
|
# this must always be [[gateway]], don't use anything else
|
||||||
[[gateway]]
|
[[gateway]]
|
||||||
name="gateway1"
|
name="gateway1"
|
||||||
@ -74,7 +74,7 @@ channel="42wim/mygreatproject"
|
|||||||
### Step 6
|
### Step 6
|
||||||
Full configuration looks now like this:
|
Full configuration looks now like this:
|
||||||
|
|
||||||
```
|
```toml
|
||||||
[discord.mydiscord]
|
[discord.mydiscord]
|
||||||
Token="MTk4NjIyNDgzNDcdOTI1MjQ4.Cl2FMZ.ZnCjm1XVW7vRze4b7Cq4se7kKWs-abD"
|
Token="MTk4NjIyNDgzNDcdOTI1MjQ4.Cl2FMZ.ZnCjm1XVW7vRze4b7Cq4se7kKWs-abD"
|
||||||
Server="myserver"
|
Server="myserver"
|
||||||
@ -100,7 +100,7 @@ channel="42wim/mygreatproject"
|
|||||||
### Step 7
|
### Step 7
|
||||||
Run matterbridge
|
Run matterbridge
|
||||||
|
|
||||||
```
|
```bash
|
||||||
./matterbridge -conf matterbridge.toml
|
./matterbridge -conf matterbridge.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user