marioparaschiv / nitro-sniper

๐Ÿ”ซ A lightweight, fast and efficient discord nitro sniper, giveaway sniper & invite sniper.
820 stars 3.25k forks source link

[Bug] Shards not activate. #392

Closed GardoTL closed 2 years ago

GardoTL commented 2 years ago

Describe the bug

When a bot reaches more than 2500 servers, it is necessary to activate the shards: 'auto' to be able to switch on the bot discord.

I can't use the sniper for my bot discord anymore.

To Reproduce

When I turn on the bot, only the servers of my main account are active.

Expected behavior

Normally, I should have many more servers when I switch on because my bot is safe over 2500 servers.

Please provide your snipers settings.

settings="{
   tokens: {
      // Main Token (ex: Nz...)
      main: 'mfa.****',
      // Alt Tokens (ex: Nz...)
      alts: [
         '****'
      ],
   },
   // The mode to run the sniper in. Options: main (only main account), alts (only alts), both
   mode: 'both',
   /*
      The status the accounts should be on.
      Options: online, dnd, idle, offline, default
      default means the status will not be modified.
   */
   status: {
      // The status the main account will have IF it's logged in
      main: 'online',
      // The status the logged in alts will have
      alts: 'offline'
   },
   nitro: {
      // The amount of nitros needed to be sniped for the cooldown to activate
      max: 100,
      // Cooldown to activate after max nitro has been hit (in hours)
      cooldown: 0,
      dm: {
         /*
          * How long to wait before attempting to claim the nitro in DMs (in seconds)
          * This is to avoid suspicion when winning giveaways by slowing down the sniper from instantly sniping it.
          */
         delay: 0
      }
   },
   giveaway: {
      // Wether or not to activate the giveaway sniper (true/false)
      enabled: false,
      // Delay to react to the giveaway (in seconds)
      delay: 0,
      // DM the hoster on giveaway win (true/false)
      dm: false,
      // Messages to DM the host
      dmMessages: [],
      // How long to wait to DM (in seconds)
      dmDelay: 0,
      // How long to wait between messages (in seconds)
      messageDelay: 0,
      // Blacklisted words for giveaway prizes
      blacklistedWords: [],
      // Only react to whitelisted giveaway prizes (true/false)
      whitelistOnly: false,
      // Whitelisted words for giveaway prizes
      whitelistedWords: [],
      // Blacklisted Server IDs to not snipe giveaways on
      blacklistedServers: [],
      // Only snipe giveaways on whitelisted servers (true/false)
      whitelistServersOnly: false,
      whitelistedServers: []
   },
   invite: {
      // Wether or not to activate the invite sniper (true/false)
      enabled: false,
      delay: {
         // Minimum delay to join the server (in seconds)
         min: 0,
         // Maximum delay to join the server (in seconds)
         max: 0
      },
      members: {
         // The minimum member count the server should have
         min: 0,
         // The maximum member count the server should have
         max: 0
      },
      // The amount of joined invites needed for the cooldown to activate
      max: 0,
      // Cooldown to activate after max joined invites has been hit (in hours)
      cooldown: 0,
      // Wether to accept an invite on any other alt/account (depends on "mode") if the current alt has max servers (true/false)
      queue: false,
      // Wether to allow the main token to snipe invites ONLY if sniper mode is set to "both" (true/false)
      onlyAlts: false
   },
   webhook: {
      // URL to fire webhook to for notifications (ex: https://discord.com/api/webhooks/.../...)
      url: 'https://discord.com/api/webhooks/****/****',
      enabled: {
         // Fire webhook on invalid code (true/false)
         codeInvalid: true,
         // Fire webhook on already redeemed code (true/false)
         codeAlreadyRedeemed: true,
         // Fire webhook on sniped code (true/false)
         codeSuccess: true,
         // Fire webhook on giveaway enter (true/false)
         giveawayEntered: true,
         // Fire webhook on giveaway win (true/false)
         giveawayWin: true,
         // Fire webhook on invite join (true/false)
         inviteJoin: true,
         // Fire webhook on failure of sniping invite (true/false)
         inviteFail: true
      },
      mentionEveryone: {
         // Mention on invalid code (true/false)
         codeInvalid: false,
         // Mention on already redeemed code (true/false)
         codeAlreadyRedeemed: false,
         // Mention on sniped code (true/false)
         codeSuccess: false,
         // Mention on giveaway enter (true/false)
         giveawayEntered: false,
         // Mention on giveaway win (true/false)
         giveawayWin: false,
         // Mention on invite join (true/false)
         inviteJoin: false,
         // Mention on failure of sniping invite (true/false)
         inviteFail: false
      }
   }
}"

What platform are you seeing the problem on?

Local Computer

Relevant log output if applicable.

> nitro-sniper@1.5.4 start
> node .

                                           โ•“โ•–,
               gโ–„โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–„โ•ฌโ•ฃโ•ฃโ•ฃโ•ขโ•ฌNโ•–
              โ–โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ขโ•ฃโ•ฃ@,
               โ–€โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ขโ•ขโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃ@,
                        โ•™โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ขโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃW
                        gโ–“โ–“โ–“โ–“โ–“โ–“โ•ขโ–“โ–“โ–“โ–“โ•ฉโ•จโ•จโ•ฉโ•ฌโ•ฃโ•ขโ•ฃโ•ขโ•ฃโ–’โ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃ
 ร†โ–“โ–“โ–“โ–“โŒ   โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ•ขโ–“โ–“โ•โŒ โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•™โ•จโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃ
 โ•™โ–€โ–“โ–“โ–€    โ•™โ–€โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ•ขโ–“โ–“โ•ฉโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•™โ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃ@
                     โ–“โ–“โ–“โ–“โ•ขโ–“โ–“โ–‘โ–‘โ–‘โ–‘โ–‘โ•“โ•ขโ–’โ–’โ–’โ–’โ–’โ–’โ•ขโ–‘โ–‘โ–‘โ–‘โ–‘โ•™โ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ข
               gโ–„โ–„โ–„โ–„โ–„โ–“โ–“โ–“โ–“โ–“โ–“ร‘โ–‘โ–‘โ–‘โ–‘โ•‘โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ•–โ–‘โ–‘โ–‘โ–‘โ•‘โ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโŒ
              โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–‘โ–‘โ–‘โ–‘โ•‘โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–‘โ–‘โ–‘]โ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโŒ
               โ•™โ•™โ–โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“@โ–‘โ–‘โ–‘โ–‘โ•™โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ•œโ–‘โ–‘โ–‘โ–‘โ•‘โ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃ
                  โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ•ฃโ–“โ–“โ–‘โ–‘โ–‘โ–‘โ–‘โ•™โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–‘โ–‘โ–‘โ–‘โ–‘โ•“โ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃร‘
                  โ•šโ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“@โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•ขโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃ
                   โ–โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ•ขโ–“โ–“@ยตโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•“@โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•™โ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ฃโ•ข`
                    โ•™โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ•ขโ–“โ–“โ–“โ–“@@@@โ–“โ–“โ–“โ–“โ•ขโ–“โ–„โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ•œโ•จโ•ฃโ•ขโ–‘
                      โ–€โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–„โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–’
                         โ–€โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ•œ"โ–‘โ–’โ–‘"
                           โ–€โ–€โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–€โ•ฉ
                               โ•™โ•™โ–€โ–€โ–€โ–“โ–“โ–“โ–“โ–€โ–€โ–€โ•™โ•™

[2022-05-08 22:16:56] Sniper is running with 1 accounts and 43 servers.
Craftzman7 commented 2 years ago

This is meant to be a self bot. This will most likely not be added.

marioparaschiv commented 2 years ago

Sharding is not supported unless PRed.