DiscordLogger error in consoleBug

'DiscordLogger v2.0.20' is using deprecated hook 'OnTeamPromote', which will stop working on Wednesday, 31 December 2025. Please ask the author to update to 'OnTeamMemberPromote(PlayerTeam team, ulong userId)'

I'm getting this as well.

I got tired of seeing this, so I went ahead and fixed it. Do a find on the plugin file for "OnTeamPromote". You will see these two lines:

Unsubscribe(nameof(OnTeamPromote));
Subscribe(nameof(OnTeamPromote));
Change them respectively to...
Unsubscribe(nameof(OnTeamMemberPromote));
Subscribe(nameof(OnTeamMemberPromote));

Then, look for the the following code:
        private void OnTeamPromote(RelationshipManager.PlayerTeam team, BasePlayer newLeader)
        {
            NextTick( () => { HandleTeam(team, TeamEventType.Updated); });
        }

and replace it with this:
        private void OnTeamMemberPromote(RelationshipManager.PlayerTeam team, ulong userId)
        {
            NextTick( () => { HandleTeam(team, TeamEventType.Updated); });
        }

That's it, enjoy the warning-free plugin without the pending doom on New Year's Eve.