Bot cant TimeOut and Ban users

About half a year ago, the bot normally timed banned the user through the TimeoutUser method, but I noticed that recently it cannot issue punishments for some reason.
I have already tried a lot, I don’t want to do this through POST requests. What do you think is the problem?
P.S. Ban features are enabled in the bot token

public void TimeOutUserCustom(string user, int duration)
            client.TimeoutUser(channelname, user, TimeSpan.FromMinutes(duration));

Chat Commands over IRC has been deprecated and removed

The announcement was made in September 2022, with multiple shutdown windows, and the final shutdown of chat commands over IRC was in Feb 24th 2023.

If you wish to ban or timeout a user from your bot you have no choice but to use the Ban Users API endpoint.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.