DoctorMcKay / node-steamcommunity

Interact with various interfaces on Steam Community from Node.js
https://dev.doctormckay.com/forum/8-node-steamcommunity/
MIT License
475 stars 127 forks source link

postGroupAnnouncement not send #228

Open owoki opened 5 years ago

owoki commented 5 years ago

Hello i use this code

community.postGroupAnnouncement("103582791463279214", title, msg, (err) => { if (err) { console.log("Error while posting announcement. Error " + err); } console.log("Posted announcement!"); console.log(" - Title: " + title); console.log(" - Message: " + msg); client.chatMessage(steamID, "hadi kapı orda yürü."); });

i not get an error but not send announcement. Please help me

Preport commented 3 years ago

Idk why this is still open but make sure your title and msg variables are not null or undefined. postAnnouncement function won't throw error if they are null.