nertivia.js
v1.3.19
Published
Nertivia Bot API
Downloads
10
Readme
Nertivia.js
NodeJS library for Nertivia API
Notice
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.
Token
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
Consoletab - type in
localStorage.getItem("hauthid")Your token should print out.
Usage
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")