Jump to content
McKay Development

Recommended Posts

Posted
community.postUserComment(steam, ':metallove:  sɪɢɴᴇᴅ ʙʏ ʀᴇᴅᴅʏ  sɪɢɴᴇᴅ ʙʏ ʀᴇᴅᴅʏ , ғᴜɴᴅᴀᴅᴏʀ ᴅᴀ ᴄᴏᴍᴜɴɪᴅᴀᴅᴇ ᴄʜᴇᴀᴅᴄᴏᴍᴍᴜɴɪᴛʏ :metallove:')
        ^
 
ReferenceError: community is not defined
    at SteamUser.<anonymous> (/root/bot/bot.js:275:9)
    at SteamUser.emit (events.js:187:15)
    at SteamUser._emitIdEvent (/root/bot/node_modules/steam-user/components/utility.js:29:12)
    at SteamUser._handlers.(anonymous function) (/root/bot/node_modules/steam-user/components/chat.js:281:9)
    at SteamUser._handleMessage (/root/bot/node_modules/steam-user/components/messages.js:249:30)
    at CMClient.emit (events.js:182:13)
    at CMClient._netMsgReceived (/root/bot/node_modules/steam-client/lib/cm_client.js:323:8)
    at CMClient.handlers.(anonymous function) (/root/bot/node_modules/steam-client/lib/cm_client.js:603:8)
    at CMClient._netMsgReceived (/root/bot/node_modules/steam-client/lib/cm_client.js:305:24)
    at TCPConnection.emit (events.js:182:13)
 
config bot: 
 
client.on("friendMessage", function(steam, message) {
    if (message == "!assinar") {
        client.chatMessage(steam, "O Teu perfil agora está assinado por mim. Aproveita")
        community.postUserComment(steam, ':metallove:  sɪɢɴᴇᴅ ʙʏ ʀᴇᴅᴅʏ  , ғᴜɴᴅᴀᴅᴏʀ ᴅᴀ ᴄᴏᴍᴜɴɪᴅᴀᴅᴇ ᴄʜᴇᴀᴅᴄᴏᴍᴍᴜɴɪᴛʏ :metallove:')
}})

 

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...