NodeJS library for Nertivia API
This library is in its early stages. A lot of features are missing. If you find any issues, make sure you post them in the issues page in GitHub.
Since bot users are not a thing right now, you can self bot. Make sure you do not make spam bots, ty :)
To get your token:
- Open inspect element (
ctrl shift + i
) - Go to the
Console
tab - type in
localStorage.getItem("hauthid")
Your token should print out.
npm i nertivia.js
const Nertivia = require("nertivia.js");
const client = new Nertivia.Client();
client.on("ready", () => {
console.log(`Logged in as ${client.user.tag}!`);
})
client.on("message", msg => {
if (msg.content === "ping") {
msg.reply("pong!")
}
})
client.login("token")