3.0.1 • Published 6 months ago
@3mkneon/discord-utils v3.0.1
discord-utils
discord-utils is an open-source package that allows users to break discord api rules and do some annoying things, Use it at your own risk.
How to use.
discord-utils has many classes (2) which are botAccount & userAccount, Continue reading to know how to use them.
Using botAccount Class
const Discord = require("discord.js"); const client = new Discord.Client({ intents: [YourIntents]}); const { botAccount } = require("@3mkneon/discord-utils"); new botAccount(client, Discord).broadcast({ ownerId: ['YourId'], // Your Id, The bot will only work with it. prefix: '!', // Bot Prefix mention: true, // Allows the bot to ping the user in the dms. type: 'online' // Sends to online only! }); client.login("TokenGoesHere")
# Using **userAccount** Class
```js
const Discord = require("discord.js-selfbot-v13"); //npm i discord.js-selfbot-v13
const client = new Discord.Client({ intents: [YourIntents]});
const { userAccount } = require("@3mkneon/discord-utils");
new userAccount(client, Discord).autoReaction({
channel: 'AnyChannelID',
user: 'AnyUserID',
//customBotId: ['SomeBotIDS']
});
client.login("YourToken");
- Auto Leveling
const Discord = require("discord.js-selfbot-v13"); //npm i discord.js-selfbot-v13
const client = new Discord.Client({ intents: [YourIntents]});
const { userAccount } = require("@3mkneon/discord-utils");
new userAccount(client, Discord).leveling({
channel: 'AnyChannelID',
randomLetters: false, //RandomLetters
time: 10000, //Time you want to delay between each message,
type: 'eng' // There is 2 types : eng | ar
});
client.login("YourToken");
Creating a bot using a user account
const { createBot, sphinx } = require("@3mkneon/discord-utils") // npm i discord-utils@latest
new createBot("YourAccountTokenGoesHere").create("BotName");
sphinx.on("GetBotToken", token => {
console.log(token)
});
Contacts
- For Support Contact : Discord: le.neon
3.0.1
6 months ago