You ned to turn on raw debugging and see what the server is responding with and/or use a second connection that raw logs chat (without the library in the way) and see if it’s doing what you think it’s doing.
Might not be showing you a full picture of whats actually going on.
Bot users are also regular users. And I doubt there is any shadowbanning going on. But if you are sending the bot via a VPN/known VPN node that might be a factor, as some VPN’s are blocked in a none obvious way I believe. (No official word on that but anacedotal evidence from Reddit other users)
There is a lot of “it might be’s” here…