Skip to content

Instantly share code, notes, and snippets.

@XenocodeRCE
Last active August 22, 2024 23:32
Show Gist options
  • Select an option

  • Save XenocodeRCE/a898633a9996855b664e75177fea866e to your computer and use it in GitHub Desktop.

Select an option

Save XenocodeRCE/a898633a9996855b664e75177fea866e to your computer and use it in GitHub Desktop.
NodeJS Discord Disboard auto bump

Install dep

  1. Install NodeJS here
  2. Create a non-important alternative Discord Account and save ID somewhere
  3. Install DiscordJ-Selfbot-v13 Library, open cmd.exe :
npm install discord.js-selfbot-v13
  1. Create new file, index.js :
const { Client } = require('discord.js-selfbot-v13');

const client = new Client();

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

  // Function to send the /bump command
  const sendBumpCommand = async () => {
    const channel = client.channels.cache.get(' THE CHANNEL ID WHERE YOU WANT TO DO /bump ');
    if (channel) {
      await channel.sendSlash('302050872383242240', 'bump');
      console.log('Bump command sent!');
    } else {
      console.log('Channel not found!');
    }

    // Calculate next interval with 2h + (1-3 random minutes)
    const nextInterval = 7200000 + (Math.floor(Math.random() * 3) + 1) *60000;
    setTimeout(sendBumpCommand, nextInterval);
  };

  // Send the first bump command
  sendBumpCommand();
});
// Login to Discord with your app's token
client.login(" YOUR ALTERNATIVE DISCORD ACCOUNT TOKEN ");

Run

node index.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment