Jump to content
McKay Development

Eanna5

Member
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Eanna5

  1. I need to make sure the recipient is online before I message him. I have loooked for this and this is what I found:

    client.getPersonas([SteamID], function (persona) {
    PersonaState = persona[SteamID].persona_state;
    console.log(PersonaState);
    

    This returns null no matter what state I set for myself.
    I am very new to node. Not sure where to look, there are no errors in the code.

     

    I am friends with the bot and he is able to message me and recieve my messages. It works but I dont want him sending me message when my account is offline which it currently does.

×
×
  • Create New...