root 0 Posted January 11 Report Share Posted January 11 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); Quote Link to post Share on other sites
Dr. McKay 355 Posted January 12 Report Share Posted January 12 Why are you passing null? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.