Open 4-Git-Nova opened 1 year ago
Aside from the examples folder I don't think there's any formal documentation. There are various events you can subscribe to bot.clientEvents
, and commands under bot.clientCommands
.
bot.clientEvents.onNearbyChat.subscribe(async (event) => {
console.log(event)
if (event.message.toLocaleLowerCase().includes("Hello")) {
await bot.clientCommands.comms.say("Hello!");
}
});
Thanks @gwigz that was some help, I managed to get IM's and response working, teleport makes node crash/stop
I seen someone open an issue for this and then closed it with no replies. Installation, went fine, just had to install git & node since it was a new server. created app.js & copied the Usage: Javascript replaced the firstname, lastname and password with correct information & bot logs in when I run node app.js.
So, I now have a bot logged in and that's where I'm at.
Any direction on how to actually use the bot/avatar? How do send commands to the bot? Is there a list of current commands? How do you receive or intercept anything from the bot? (IM's, Nearby, Group, Inventory offers, Dialogs, TP Lures, etc)