Twitch IRC - Migrate to Twitch EventSub + Twitch API
Twitch documentation recommends using Twitch EventSub + Twitch API instead of the IRC:
https://dev.twitch.tv/docs/chat/
The preferred method of viewing and sending chats on Twitch is through EventSub and Twitch API, but Twitch historically has an IRC interface, based on a modified RFC1459 and IRCv3 Message Tag specification. Twitch IRC has limited features, and for full chatbot functionality some API calls will need to be made, such as in the case of using chat commands.