Wrong kicked user name shows in Discord webhook

When someone is kicked from a team, the correct SteamID of the kicked user is printed, however the team owner's player name is shown in parenthesis, making it appear that the team leader kicked themselves.

So does this occur only when the user gets kicked or any other events?

I'm having a hard time reproducing the issue to provide more details. It does only happen when the team leader leaves the team, but inconsistently (indeed, it usually doesn't happen), and prints that the team leader was kicked when they leave/disband the team. From what I've seen, it only happens when there are other team members. I'm thinking it may trigger when 1 or more of the team members is not connected, and that's not a scenario I've tested. Other than that scenario, I feel like this may be a wild goose chase as far as the conditions to trigger it.

Thank you for letting me know, it's probably due to it removing the entity from the team (IE kicking) and thats how its called regardless if someone is a team leader or such.

Thanks, that makes sense. Rust-isms 😄