npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

jalter

v3.0.4

Published

A NodeJS wrapper for Discord Selfbot

Downloads

50

Readme

Jalter is lightweight libs for Discord selfbot, yet it handle the most of Discord endpoint needs.
Automating user is against Discord's Terms of Service. This may result in termination

ContributingDocumentationReport Issues


Features

  • Covers the most endpoints.
  • Non-standard stuff
  • Respect the rate limit
  • Documented and tested
  • Easy to use: check your intelisense

🚀Installation

yarn add jalter / npm i jalter

Prerequisites

User token

Documentation

The documentation can be found https://sinkaroid.github.io/jalter

Example

import Jalter from "jalter";

const jalter = new Jalter("wwgwgwgbadadaadpunopupupuu.X7hb5Q.-ngent00dinaLteer1213ngENt0dCcWW_1M");

jalter.getMe().then((res) => { console.log("me", res); });

CommonJS should do with const Jalter = require("jalter")

Methods

Non standard methods

Example send message or random message every X seconds

Example From array given:

jalter.sendInterval("974918359500075041", 2000, ["hey", "ho", "let's go"])
    .then((res) => { console.log("sendInterval", res); });

If not specified will use random "Hello World":

jalter.sendInterval("974918359500075041", 2000)
    .then((res) => { console.log("sendInterval", res); });

Automated send message and will stop once the count is reached

Desired count is 5, and with 2 second interval

jalter.sendCount("974918359500075041", 2000, "hey", 5)
    .then((res) => { console.log("sendCount", res); });

Limitations

  • There is a hard rate limit every 1 seconds per request

Listen to events

The answer is no, This is intended for something raw and pure HTTP request without extended actions, If you still rely listen events to implement a full-featured bot, use real bot account.

Pronunciation

id_ID/jalter/ — Jalan Alternatif (?) Jadikan ini sebagai jalan alternatif, bukan sebuah tujuan.

Experimental

This library is maintained but i never use it in production. However it is still somewhat experimental, You are encouraged to make your own tests with your specific endpoints and data types.

Automated user accounts (self-bots)

Cc: https://support.discord.com/hc/en-us/articles/115002192352-Automated-user-accounts-self-bots-
The question regarding "self bots" has come up here and there, and we'd like to make our stance clear:

Discord's API provides a separate type of user account dedicated to automation, called a bot account. Bot accounts can be created through the applications page, and are authenticated using a token (rather than a username and password). Unlike the normal OAuth2 flow, bot accounts have full access to all API routes without using bearer tokens, and can connect to the Real Time Gateway. Automating normal user accounts (generally called "self-bots") outside of the OAuth2/bot API is forbidden, and can result in an account termination if found.