Private messages to alternate discord channel.Solved

I have re-written this dam config 3 times now and my rust server just gives me an error when ever I do a reload.

{
"CustomLoggingKeywords": [
"Keyword 1",
"Keyword 2"
],
"FilterWords": [
"badword1",
"badword2"
],
"FilteredWord": "<censored>",
"LogExcludeGroups": [
"default"
],
"LogExcludePerms": [
"example.permission"
],
"Apikey": "Hidden",
"AutoReloadPlugin": false,
"AutoReloadTime": 901,
"EnableBotStatus": false,
"GameChatIconSteamID": 76561############,
"GameChatTag": "[RUSTCORD]",
"GameChatTagColor": "#7289DA",
"GameChatNameColor": "#55aaff",
"GameChatTextColor": "#ffffff",
"LogChat": true,
"LogJoinQuits": true,
"LogDeaths": true,
"LogVehicleSpawns": true,
"LogCrateDrops": true,
"LogUserGroups": false,
"LogPermissions": false,
"LogKickBans": true,
"LogNameChanges": false,
"LogServerCommands": false,
"LogServerMessages": true,
"LogF7Reports": false,
"LogTeams": false,
"LogRCON": false,
"LogPluginAdminHammer": false,
"LogPluginAdminRadar": false,
"LogPluginBetterChatMute": false,
"LogPluginClans": false,
"LogPluginDiscordAuth": false,
"LogPluginPrivateMessages": false,
"LogPluginRaidableBases": true,
"LogPluginSignArtist": false,
"LogPluginVanish": false,
"EnableCustomLogging": false,
"ReportCommand": "report",
"Commandprefix": "!",
"Channels": [
{
"Channelid": "826484172679544922",
"perms": [
"cmd_allow",
"cmd_players",
"cmd_kick",
"cmd_com",
"cmd_mute",
"cmd_unmute",
"msg_join",
"death_pvp",
"msg_chat",
"msg_teamchat",
"game_report",
"game_bug",
"msg_serverinit",
"msg_helispawn",
"msg_bradleyspawn",
"msg_chinookspawn",
"msg_shipspawn",
"msg_planespawn",
"death_npc",
"death_vehicle",
"log_kicks",
"log_bans",
"log_cratedrop",
"log_supplydrop",
"death_npc",
"death_vehicle"
]
},
{
"Channelid": "826431504975527966",
"perms": [
"plugin_privatemessages",
"plugin_vanish"
{,
],
"Commandroles": {
"command": [
"rolename1",
"rolename2"
]
}
}

I'm just trying to get the PM's to show in a seperate channel.

This is my server error:

Rustcord v2.5.2: Failed to load config file (is the config file corrupt?) (After parsing a value an unexpected character was encountered: {. Path 'Channels[1].perms[1]', line 89, position 2.)
Rustcord v2.5.2: Failed to load config file (is the config file corrupt?) (After parsing a value an unexpected character was encountered: {. Path 'Channels[1].perms[1]', line 89, position 2.) 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
Failed to initialize plugin 'Rustcord v2.5.2' (JsonReaderException: Unexpected character encountered while parsing value: {. Path 'Channels[1].perms[1]', line 89, position 3.)
Any Advise would be appreciated?

Line 89 position 2 is when it starts to refer to this:

{
"Channelid": "826431504975527966",
"perms": [
"plugin_privatemessages",
"plugin_vanish"
{,

one of your brackets is backwards, and not in the right place.

Ah perfect thanks, Its one of those ones that you just need another pair of eyes to look over it. 

Locked automatically