Jump to content
McKay Development

Aswer

Member
  • Posts

    2
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Aswer reacted to Dr. McKay in Check if key is valid client.redeemKey   
    client.on("friendMessage", function (steamID, message) {
    if (steamID == AdminID && message.indexOf('!key') == 0) {
    var GetKey = message.replace('!key ', '');
    client.redeemKey(GetKey, function (err) {
    if (err) {
    // key not activated
    } else {
    client.chatMessage(steamID, "Key activated: " + GetKey);
    }
    });
    }
    });
  2. Like
    Aswer reacted to Dr. McKay in Check if key is valid client.redeemKey   
    Check the callback or promise result to redeemKey.
  3. Like
    Aswer reacted to Dr. McKay in How do you get rich presence data?   
    It's in the user event in steam-user.
×
×
  • Create New...