So the polling thing i did in a rush, it's going to be removed and replaced with a socket.io message listener in a day or so (if that's okay — if not, shut down the bot by running “!shutdown” on @lankybox01/wall)

And the bot will never ever send any actual posts or comments, it will only reply to comments on walls.

And i am going to change the prefix to @mrseeks

thank you

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?

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

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