marioparaschiv / nitro-sniper

🔫 A lightweight, fast and efficient discord nitro sniper, giveaway sniper & invite sniper.
825 stars 3.25k forks source link

pleasE enhance the configuration of the sniper on heroku | outdated #138

Closed ItzBoiz closed 3 years ago

ItzBoiz commented 3 years ago

im seeing this idk what i ruined image

but please make it easier to deploy, like GiorgioBrux does: image

there is a field in which we can enter the variables, without ruining the code

ItzBoiz commented 3 years ago

ok

ItzBoiz commented 3 years ago

ok so but.. what is wrong with this code please fix

{ tokens: { // Main Token main: 'private', // Alt Tokens alts: [ 'private', 'private' ], }, // The mode to run the sniper in. Options: main (only main account), alts (only alts), both mode: 'alts', / 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: '', // The status the logged in alts will have alts: 'default' },
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 }, 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, // Message to DM the host dmMessage: 'YES I WON!!', // How long to wait to DM (in seconds) dmDelay: 4, // Blacklisted words for giveaway prizes blacklistedWords: [ 'bot', 'test', 'ban' ], // Only react to whitelisted giveaway prizes (true/false) whitelistOnly: true, // Whitelisted words for giveaway prizes whitelistedWords: [ 'nitro' ], // Blacklisted Server IDs to not snipe giveaways on blacklistedServers: [ '' ] }, 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 }, webhook: { // URL to fire webhook to for notifications url: 'private, enabled: { // Fire webhook on invalid code (true/false) codeInvalid: false, // Fire webhook on already redeemed code (true/false) codeAlreadyRedeemed: false, // Fire webhook on sniped code (true/false) codeSuccess: true, // Fire webhook on giveaway enter (true/false) giveawayEntered: false, // Fire webhook on giveaway win (true/false) giveawayWin: true, // Fire webhook on invite join (true/false) inviteJoin: 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 } } }

ItzBoiz commented 3 years ago

thanks