https://github.com/supertigerdev/nertivia.js
NodeJS library for Nertivia API
https://github.com/supertigerdev/nertivia.js
Last synced: 11 months ago
JSON representation
NodeJS library for Nertivia API
- Host: GitHub
- URL: https://github.com/supertigerdev/nertivia.js
- Owner: SupertigerDev
- Created: 2020-04-29T20:20:02.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T20:36:47.000Z (over 3 years ago)
- Last Synced: 2025-06-28T10:21:10.671Z (12 months ago)
- Language: TypeScript
- Size: 197 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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:
1. Open inspect element (`ctrl shift + i`)
2. Go to the `Console` tab
3. type in `localStorage.getItem("hauthid")`
Your token should print out.
## Usage
```npm i nertivia.js```
```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")
```