thanks! I used this sample code and the token is correct, but it gets stuck at the login code #1342
lonely1215225
started this conversation in
General
Replies: 1 comment
-
in the first u should to install the package npm install npm install discord.js-selfbot-v13 then you can take the token by dev tools using (Discord- [Ctrl + Shift + I]) and type this code in the console window.webpackChunkdiscord_app.push([
[Math.random()],
{},
req => {
if (!req.c) return;
for (const m of Object.keys(req.c)
.map(x => req.c[x].exports)
.filter(x => x)) {
if (m.default && m.default.getToken !== undefined) {
return copy(m.default.getToken());
}
if (m.getToken !== undefined) {
return copy(m.getToken());
}
}
},
]);
console.log('%cWorked!', 'font-size: 50px');
console.log(`%cYou now have your token in the clipboard!`, 'font-size: 16px'); then do the startup code like that const { Client } = require('discord.js-selfbot-v13');
const client = new Client();
client.on('ready', async () => {
console.log(`${client.user.username} is ready!`);
});
client.login('your-bot-token-here'); // Add your token here If the bot still isn't logging in, make sure to check for any error messages in the console. You can add an error handler to get more details about what might be going wrong client.on('error', (error) => {
console.error('Error occurred:', error);
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
const {Client} = require('discord.js-selfbot-v13');
const client = new Client();
client.on('ready', async () => {
console.log(
${client.user.username} is ready!
);})
client.login()
Beta Was this translation helpful? Give feedback.
All reactions