Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

[Bug] Status changes do not work #415

Open
Plushhh opened this issue Jun 21, 2022 · 3 comments
Open

[Bug] Status changes do not work #415

Plushhh opened this issue Jun 21, 2022 · 3 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Plushhh
Copy link

Plushhh commented Jun 21, 2022

Describe the bug

I won't waste your time, after making a config that works fine, trying to change your status with the options (dnd, default, offline, idle), doesn't do anything. For example, I have an alt and in the settings its set to be on offline mode, however it shows up as online. The status I manually set in discord is offline. I also tried with default but its the same thing. The status shows up as online on discord for my main too.

To Reproduce

1: Write a valid config
2: Configure account A go 'offline'
3: Set account A's status in discord to offline (on client side it shows as offline, but the account is still on the online list.)
4: Now log into account B and look at the status of account A. It will be online.

Expected behavior

The status should be offline instead of online.

Please provide your snipers settings.

{
   tokens: {
      // Main Token (ex: Nz...)
      main: 'token',
      // Alt Tokens (ex: Nz...)
      alts: [
         'another token',
         '3rd token wow',
         'final token'
      ],
   },
   // 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: 'default',
      // 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: 2,
      // Cooldown to activate after max nitro has been hit (in hours)
      cooldown: 24,
      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: 43
      },
      // A list of channel IDs to ignore when sniping nitro
      blacklistedChannels: [
         '',
      ]
   },
   giveaway: {
      // Wether or not to activate the giveaway sniper (true/false)
      enabled: true,
      // Delay to react to the giveaway (in seconds)
      delay: 30,
      // DM the hoster on giveaway win (true/false)
      dm: true,
      // Messages to DM the host
      dmMessages: [
         'OMG',
         'OMG',
         'I WON!!! ThAnkS SO MUuCH!',
         'CANI GET THE PRIZE??',
         'ALSO I MIGHT LEAVE RANDOMLY CUZ PARENTS'
      ],
      // How long to wait to DM (in seconds)
      dmDelay: 25,
      // How long to wait between messages (in seconds)
      messageDelay: 2,
      // Blacklisted words for giveaway prizes
      blacklistedWords: [
         'bot',
         'test',
         'ban',
         'fake'
      ],
      // Only react to whitelisted giveaway prizes (true/false)
      whitelistOnly: false,
      // Whitelisted words for giveaway prizes
      whitelistedWords: [
         'nitro'
      ],
      // Blacklisted Server IDs to not snipe giveaways on
      blacklistedServers: [
         ''
      ],
      // Only snipe giveaways on whitelisted servers (true/false)
      whitelistServersOnly: false,
      whitelistedServers: [
        ''
      ],
      prizeLength: {
         // The minimum character length of the prize (null = infinite)
         min: 4,
         // The maximum character length of the prize (null = infinite)
         max: null
      }
   },
   invite: {
      // Wether or not to activate the invite sniper (true/false)
      enabled: false,
      delay: {
         // Minimum delay to join the server (in seconds)
         min: 10,
         // Maximum delay to join the server (in seconds)
         max: 20
      },
      members: {
         // The minimum member count the server should have
         min: 1500,
         // The maximum member count the server should have
         max: 50000
      },
      // The amount of joined invites needed for the cooldown to activate
      max: 10,
      // Cooldown to activate after max joined invites has been hit (in hours)
      cooldown: 6,
      // Whether to accept an invite on any other alt/account (depends on "mode") if the current alt has max servers (true/false)
      queue: true,
      // Whether to allow the main token to snipe invites ONLY if sniper mode is set to "both" (true/false)
      onlyAlts: true
   },
   webhook: {
      // URL to fire webhook to for notifications (ex: https://discord.com/api/webhooks/.../...)
      url: 'legitwebhookthatworks',
      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: false,
         // Fire webhook on failure of sniping invite (true/false)
         inviteFail: false
      },
      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: true,
         // Mention on giveaway enter (true/false)
         giveawayEntered: false,
         // Mention on giveaway win (true/false)
         giveawayWin: true,
         // Mention on invite join (true/false)
         inviteJoin: false,
         // Mention on failure of sniping invite (true/false)
         inviteFail: false
      }
   },
   // Whether to log all console messages to file (true/false)
   log: true
}

What platform are you seeing the problem on?

Repl.it

Relevant log output if applicable.

No response

@Plushhh Plushhh added bug Something isn't working help wanted Extra attention is needed labels Jun 21, 2022
@github-actions
Copy link

You have an invalid config, please do not open issues for this.
Auto-closing this issue.

@Plushhh
Copy link
Author

Plushhh commented Jun 21, 2022

Github Actions automatically closed this issue for an invalid config because I didn't include my tokens probably. This will re open the issue.

@marioparaschiv
Copy link
Owner

It's due to a bug in the automation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants