Jalter
Featureful Selfbot wrapper for its Discord Selfbot. This library provides non-standard stuff such farming, intervals, and respect the ratelimit.
Features
- covers the most endpoints.
- non-standard stuff
- intervals, delays, and farm utilities
- documented
Installation
yarn add jalter
/ npm i jalter
Create your .env
then fill the values.
TOKEN="wwgwgwgbadadaadpunopupupuu.X7hb5Q.-ngent00dinaLteer1213ngENt0dCcWW_1M"
CHANNEL_ID="932270492872757308"
Q: How to get token?
A: Open devtools, try to request something then check the network tab.
Normal stuff
Look over documentation. You can always using full of rest
instead of my custom method.
const { rest } = require("jalter");
require('dotenv').config();
await rest.sendMessage(process.env.CHANNEL_ID, "hi!");
Non standard stuff
Either require proper parameter or will throw you if the value given is break the rule.
Set boolean to true for adding extra delay before mock (1 - 3 sec randomly)
- Assign
sendWithInterval()
every "x" = 2 hours intervals- Example for send "!d bump" every 2 hours
const { sendWithInterval } = require("jalter");
async function autoBump() {
await sendWithInterval(process.env.CHANNEL_ID, "!d bump", 7260000, true);
autoBump();
- Assign
sendWithCount()
every "x" = 5 seconds and do it often for "n" = 10 times- Example for idk?
const { sendWithCount } = require("jalter");
async function sendRepeat() {
await sendWithCount(process.env.CHANNEL_ID, 'hey..', 10, 5000, true);
}
sendRepeat();
- Assign
sendWithRandom()
through array given every "x" = 5 second intervals- Example for farming exp server, item bots, or idk?
const { sendWithRandom } = require("jalter");
const kata = ["hi", "fuk", "ew", "heh", "uh", "eul"];
async function farming() {
await sendWithRandom(process.env.CHANNEL_ID, kata, 5000, true);
}
farming();
Some method values require milisecond
or second
parameter, check your intelisense.
Documentation
..and more i guess, read over documentation
Pronunciation
id_ID
• /jalter/ — Jalan Alternatif (?) Jadikan ini sebagai jalan alternatif, bukan sebuah tujuan.
EOF
However it is still somewhat experimental. You are encouraged to make your own tests with your specific endpoints.
Legal
Automated user accounts (self-bots)
Jalter was forked from rigwild/discord-self-bot-console and come with many improvements over runtime.
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.