diff --git a/How-to-create-your-config.md b/How-to-create-your-config.md index 6ee5128..9f74557 100644 --- a/How-to-create-your-config.md +++ b/How-to-create-your-config.md @@ -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 ```