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.

wait does that mean another admin must've verified me?

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
})

thank you

where do i get my token

It’s in cookies, are you on android or iPhone?

I'm on mobile

See more replies
POST https://api.wasteof.money/session
Content-Type: “application/json”

{ username: “USERNAME“, password: “PASSWORD“ }
View all comments