Not sending to discordNo Thanks
i'm getting this error

[Teams Logger] Discord wasn't configured, message can't be sent

{
  "Print logs to console": true,
  "Print logs to Discord": true,
  "Print logs to file": true,
  "Discord hook url": "https://discord.com/api/webhooks/773240367767224400/7sB-LlcpLKV6FnPY0T8B4MAPfhgEGj1vn79BuEtoaqWXq3lxl1ARqLcAllnIjCD-jrVW"
}​
Hi,

this just happened today

Captain Hook
BOT
Today at 9:35 PM
13:19:48 | Invite 82   | Player '[AGILA] DJANGO' (76561############) sent invite to '[AGILA] Choweeqt' 76561############
13:19:50 | Accept 82   | Player: '[AGILA] Choweeqt' (76561############) accepted invite​

so it looks like what happens is that the discord configuration gets loaded last when the plugin is started/ reloaded. pls check thanks. my idea was to reload the plugin and resend all create / teams messages but the above is the error msg.
Confirmed.  I have to restart the plugin after starting a server wipe and then it starts logging to discord.  how can we fix this?
It tries to send a message before it loads the discord config. But that only affects the very first message at the very first start.
So it's only important if you install the plugin after a team has been created, then this message would be missing on discord.
Otherwise you can just ignore the message. If there's no team you don't miss any info, and all follow up messages will work regardless.

if you still wanna fix it, move the " if (IsFirstRun()) LogCurrentTeams();" line to the very end of the Init() method.

stil problem fix ? 

Have the Discord config option enabled with a valid hook. Once the server restarts it console errors saying [Teams Logger] Discord wasn't configured, message can't be sent. Yet after a simple o.reload TeamsLogger all is well and it prints to Discord as if nothing ever happened. Have tested this throughout a few weeks and same thing. Works fine when reloaded, but as soon as the server restarts it errors.

Is this error still occurring for you? I think I made it read the config in the wrong hook. Hence why it doesn't read config. I'll double check as I probably overlooked this, thanks.

Merged post

I did some testing on my server and couldn't recreate/find an issue that would require that error to happen, could you please send me a snippet of your config file? Please blur out part of your webhook url😅. 

Locked automatically