Jump to content
McKay Development

root

Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by root

  1. Hey, I want to invite the User if he send the command !invite. How can I fix it? Log: "invitee": userID.toString(), TypeError: Cannot read property 'toString' of null if (message == "!invite") { community.inviteUserToGroup(null, "XXXXXXXXXXXXXXX"); console.log("Invite send to " + steamID);
  2. Hello, If my Bot accept the friendsrequest the Bot is spamming in the console: Accepted friendrequest from: "steamID" s testamID client.on('friendRelationship', (steamid, relationship) => { console.log("Accepted friendrequest from: " + steamid); client.addFriend(steamid); }); How can I fix it to just 1 console Log for every new Friend? Greetings
×
×
  • Create New...