Describe the bug
Steamids filter doesnt work 100% of the time on certain events. Tried it out on a new channel for 15 minutes with 5 people on the server, seems to work most of the time (And for most events Id believe), but occasionally events like onplayerleave-onroundrestart-onplayerdie will send steamids, regardless if the channel is supposed to filter steam ids.
Its not all of the time, sometimes the filter works correctly in those events, but occasionally it will just send the steamid instead of the playerid. My guess is that it has something to do when the player becomes "null", for some reason.
To Reproduce
Steps to reproduce the behavior:
Go to plugin config
Add a Discord channel
Add the channel name to channelsettings: filtersteamids [ "name" ]
Describe the bug Steamids filter doesnt work 100% of the time on certain events. Tried it out on a new channel for 15 minutes with 5 people on the server, seems to work most of the time (And for most events Id believe), but occasionally events like onplayerleave-onroundrestart-onplayerdie will send steamids, regardless if the channel is supposed to filter steam ids.
Its not all of the time, sometimes the filter works correctly in those events, but occasionally it will just send the steamid instead of the playerid. My guess is that it has something to do when the player becomes "null", for some reason.
To Reproduce Steps to reproduce the behavior: