aiko-chan-ai / discord.js-selfbot-v13

An unofficial discord.js fork for creating selfbots
https://discordjs-self-v13.netlify.app
GNU General Public License v3.0
751 stars 160 forks source link

multi login ; click butten ; and ... #596

Closed gif12 closed 1 year ago

gif12 commented 1 year ago

Hello I want to know how when we enter a slash command with Selfbot and the bot gives us an answer, how to get the ID of the buttons below that message and click on them

And I also want to know how to run multiple bots at the same time with this resource?

And I also want to know how to set the channel and server ID to send commands only on that channel

How can I set up commands, one of which is sent continuously every 1 minute, and another command is sent once every 10 minutes?

Codes:

const { Client } = require('discord.js-selfbot-v13');
const client = new Client({
x
});

client.on('ready', async () => {
console.log(`${client.user.username} is ready!`);
})
client.login('token');
await message.clickButton(buttonID);
await message.channel.sendSlash('450323683840491530', 'animal chat', 'bye')
NekoCyan commented 1 year ago

Search on google about the thing that you want to do since you haven't learn the basic of javascript.

NekoCyan commented 1 year ago

And about click Button, send Slash Command, You can also check our docs at DiscordJS-Selfbot-V13.

potnet commented 1 year ago

Is this what you mean by "running multiple bots at the same time"?

const { Client } = require('discord.js-selfbot-v13');

let tokens = [
    "TOKEN",
    "TOKEN"
]

for (token of tokens) {

    const client = new Client({
        x
    });

    client.on('ready', async () => {
        console.log(`${client.user.username} is ready!`);
    })

    client.login(token);
}