sounds good! i think the socket.io part could be a bit confusing/difficult at first, but it will definitely also result in the bot being much faster than polling.
probably mis-click when banning you.
btw heres some code to connect to socket.io
// io would be from socket.io-client
const socket = io("https://api.wasteof.money", {
auth: {
token: "abcdefg this is my token abcdefg",
},
});
socket.on('updateMessageCount', (newCount)=>{
// check if the count is higher
// get the most recent unread messages
// for all the most recent messages, act upon comment_mentions/wall_comment_mentions
// you might even want to mark messages as read once they've been acted upon. thats up to you though
})
POST https://api.wasteof.money/session
Content-Type: “application/json”
{ username: “USERNAME“, password: “PASSWORD“ }