Jump to content
McKay Development

Tobi3944

Member
  • Content Count

    1
  • Joined

  • Last visited

  1. Hi, I have been trying to send a message using the SteamChatRoomClient stuff (since it seems that the other one is deprecated) This is the code that I use: (in bot file) const steamUser = require('steam-user'); const client = new steamUser(); module.exports.client = client; client.on("friendMessage", function (steamID, message) { chatHandler.chatManager(steamID, message); }); (In chatHandler file) const bot = require('./bot.js'); const config = require('./config.json'); module.exports.chatManager = chatManager; function chatManager(steamID, message) { console.log(bot.c
×
×
  • Create New...