When a user disconnects I get
[Discord Events] SendMessage: webhookUrl is null or empty!
However, the config does in fact have a value for that event, and is active. Ive tested the URL in another working event, so the URL is not bad.
Disconnect Event not workingFixed
Is line 487 the issue?
SendMessage(Lang("PlayerDisconnected", null, player.displayName.Replace("*", "*"), reason), _configData.PlayerConnectedSettings.WebhookURL);Should that be _configData.PlayerDisconnectedSettings instead?
@platypusmuerte, yeah, you are right. Edit, save and restart plugin. I'll do the patch a bit later.
@MONaH will do, thanks. I appreciate your plugin!
Locked automatically