localip / nitro-sniper Goto Github PK
View Code? Open in Web Editor NEWš« A lightweight, fast and efficient discord nitro sniper, giveaway sniper & invite sniper.
š« A lightweight, fast and efficient discord nitro sniper, giveaway sniper & invite sniper.
Hey slow, I would like to ask if it would be possible to make the nitro codes just send to the webhook and not snipe them?
Just for users who wants it, perhaps it could be optional in .env file.
I am pretty sure I did everything correctly, i put in my token in the place i am supposed to. any help would be appreciated!
I tried to test this with Santa Lunar (one that I usually use) and it does not work. Does this only work with GiveawayBot? If so, can you add support for most of the other discord bots that are used for giveaways? (Invite Tracker, Prism, Plasma, etc,)
Is your feature request related to a problem? Please describe.
Hi, I was trying to add more tokens from another account and every time I add it as second in alt it tells me that there is an error that I look at the backup gihub
Describe the solution you'd like
I would like to know how to enter other tokens, I recently downloaded the file so I imagine I will have the latest update.
Additional context
Nice
When I run npm install it keeps giving me an error, I install both versions of node, 15.8.0, and then tried 14.15.5 or the one that is recommended for more users and no luck.
gyp ERR! find VS
gyp ERR! find VS msvs_version not set from command line or npm config
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer
gyp ERR! find VS looking for Visual Studio 2015
gyp ERR! find VS - not found
gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
gyp ERR! find VS
gyp ERR! find VS **************************************************************
gyp ERR! find VS You need to install the latest version of Visual Studio
gyp ERR! find VS including the "Desktop development with C++" workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
gyp ERR! find VS **************************************************************
gyp ERR! find VS
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Visual Studio installation to use
gyp ERR! stack at VisualStudioFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:121:47)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:74:16
gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:351:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:70:14
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:372:16
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\util.js:54:7
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\util.js:33:16
gyp ERR! stack at ChildProcess.exithandler (child_process.js:315:5)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at maybeClose (internal/child_process.js:1048:16)
gyp ERR! System Windows_NT 10.0.18363
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\pokem\Downloads\nitro-sniper\node_modules\erlpack
gyp ERR! node -v v14.15.5
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN [email protected] No repository field.
npm WARN [email protected] license should be a valid SPDX license expression
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! erlpack@github:hammerandchisel/erlpack#e27db8f82892bdb9b28a0547cc394d68b5d2242d install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the erlpack@github:hammerandchisel/erlpack#e27db8f82892bdb9b28a0547cc394d68b5d2242d install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\pokem\AppData\Roaming\npm-cache_logs\2021-02-12T23_48_14_236Z-debug.log
How do I add more than one alt account?
I keep getting the error invalid settings object
The beginning of my config is (tokens replaced with X)
{
"tokens": {
"main": "X",
"alts": [
"X" "X"
]
}
It works when I just put only one alt account but I don't know how to do multiple
Thanks
Is your feature request related to a problem? Please describe.
Sometimes if you win a giveaway with 2 possible options the bot DMs the host, and the host asks you which prize you want and the autoreactor doesn't reply
Describe the solution you'd like
It would be amazing if you could input keywords that gets replied to after you win a giveaway. The keywords could be activated only for a certain time after you DMed the winner
Additional context
Example:
{
"keywords": { // keywords gets responded to when someone mentions them. You can add up to 5 keywords. Leave slots blank to ignore
"enable": true
"active_after_dm": {
"close_trigger": 69 // how long after you DMed the host the keyword could be mentioned
"keyword 1 trigger": server,
"keyword 1 respond": discord.gg/example,
"keyword 2 trigger":
"keyword 2 respond":
"keyword 3 trigger":
"keyword 3 respond":
"keyword 4 trigger":
"keyword 4 respond":
"keyword 5 trigger":
"keyword 5 respond":
"delay": { // delay in seconds of how long the respond should be send after the trigger was activated
"min": 10,
"max": 20
},
Describe the bug
Every time after i do node . , it doesnt start and only says Invalid settings object.
To Reproduce
Im not really doing any other steps other than the ones that you suggested.
Expected behavior
After i do node . for there either it to start working.
Additional context
When i first edited the .env file, it was kinda scrambled? It was all in one row, even though i thought it wouldnt work, i gave it a try, after it didnt work, i just copied and pasted the default config, removed the guidance text (or whatever you call it) and did it, still didnt work. It also says that there are 2 vulnerabilities, 1 high, and 1 moderate. i did npm audit fix, and it did nothing.
if someone doing more than 1 winner giveaway, sniper dming wrong person.
You can find this bug easily, make 2 winner giveaway. It will dm other person.
Hello, can I contact you on discord / telegram?
I'd like to ask you on something, also I have no problem with donate you some money for your work.
Thanks for your time
Getting the error "Invalid settings object, if you require more help visit https://github.com/slow/nitro-sniper#default-configuration for an example. Exiting process..." when everything seems right, i even copied the default configurations from the Readme and changed the tokens and webhook variables and still getting the same error.
i put every details correctly and this pops up.
[2021-02-23 06:38:00] Invalid settings object, if you require more help visit https://github.com/slow/nitro-sniper#default-configuration for an example. Exiting process...
I'm getting like 1000ms or even 2300ms with Heroku located in United States, but with my old sniper (NitroSniperGo) I get like 50ms-70ms. I think this isn't normal.
Does it reserve the code on an alt account and claim it on a main account, or how does it work?
Describe the bug
A clear and concise description of what the bug is.
After sniping an invite the account will need to be verified, not sure if this is something to do with how the request is being sent or if discord is just retarded
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
that doesnt happen
I can't run the command: git clone https://github.com/slow/nitro-sniper nitro-sniper on cmd (i try'd in Node.js cmd too)
When I run git clone https://github.com/slow/nitro-sniper nitro-sniper on cmd it says 'git' is not recognized as an internal or external command, operable program or batch file.
Same applies with nodejs terminal when I type it it just says "Uncaught SyntaxError: Unexpected identifier"
please help me
Thanks!
Hello, I was wondering if it is possible to use more than just one token at the alt section sothat you can use more than 2 accounts to react and snipe.
Please Explain It Clearly
Hey, does it work if I have two factor authentication on my main account where I want to snipe nitro codes?
I don't think I have js installed. an .exe would be greatly appreciated :D
also the .env file shows up as one loooooooong line for me on visual studio code. don't know why
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
https://i.imgur.com/09g49fo.png
While using default config it don't work
So basically the nitro sniper runs forever without stopping unless you make it to stop?
The invite sniper minimum and maximum area does not work for me, when I change the min and max the invite sniper just completely doesn't work.
Might be an issue with me but it didn't work for my friend either, hosted on Heroku.
2021-04-27T18:15:00.885401+00:00 heroku[web.1]: State changed from crashed to starting
2021-04-27T18:15:07.026347+00:00 heroku[web.1]: Starting process with command npm start
2021-04-27T18:15:10.101319+00:00 app[web.1]: npm ERR! missing script: start
2021-04-27T18:15:10.108654+00:00 app[web.1]:
2021-04-27T18:15:10.109446+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2021-04-27T18:15:10.109818+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2021-04-27T18_15_10_102Z-debug.log
2021-04-27T18:15:10.195830+00:00 heroku[web.1]: Process exited with status 1
2021-04-27T18:15:10.276124+00:00 heroku[web.1]: State changed from starting to crashed
2021-04-27T18:15:11.241423+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lucas-sims-nitrosniper.herokuapp.com request_id=744e278f-a131-482b-9cdf-81b4cc9f4d24 fwd="107.215.58.78" dyno= connect= service= status=503 bytes= protocol=https
2021-04-27T18:15:11.619715+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=lucas-sims-nitrosniper.herokuapp.com request_id=76309131-d4be-4dd8-a8e2-7e1433c5b032 fwd="107.215.58.78" dyno= connect= service= status=503 bytes= protocol=https
My config:
{
"tokens": {
"main": "token",
"alts": [
""
]
},
"mode": "main",
"nitro": {
"max": 4,
"cooldown": 24
},
"giveaway": {
"enabled": true,
"delay": 30,
"dm": true,
"dmMessage": "Hey, i won the giveaway. Could i redeem my prize?",
"dmDelay": 25,
"blacklistedWords": [
"bot",
"test",
"ban"
],
"whitelistOnly": false,
"whitelistedWords": [
"nitro"
],
"blacklistedServers": [
""
]
},
"invite": {
"enabled": false,
"delay": {
"min": 10,
"max": 20
},
"members": {
"min": 250,
"max": 5000
},
"max": 10,
"cooldown": 6
},
"webhook": {
"url": "https://discord.com/api/webhooks/webhook",
"enabled": {
"codeInvalid": false,
"codeAlreadyRedeemed": false,
"codeSuccess": true,
"giveawayEntered": true,
"giveawayWin": true,
"inviteJoin": true
},
"mentionEveryone": {
"codeInvalid": false,
"codeAlreadyRedeemed": false,
"codeSuccess": true,
"giveawayEntered": false,
"giveawayWin": true,
"inviteJoin": false
}
}
}
Dming 2-3 message not only 1.
like;
dmed
hey
nitroo
[2021-04-20 02:06:52] All tokens provided were invalid, exiting process...
idk why it says that, my token is valid lol
webhook is not working
Is there way to run this sniper 24/7 without keeping pc on?
for eg hosting on a server
Hey, can you give instructions on how to keep this up with PM2 if someone decides to host it locally?
I have a problem which I cannot interpret what the failure is, it tells me that my token is invalid and I tried with another account and nothing, I reinstalled everything and returned again but nothing, at first it was fine but then nothing.
I do not have photos or captures since it is the error of the invalid token only that I get very often in addition to a crash message.
Hey! I'm having issues adding more alt accounts to the sniper, if I just put one account it works, but if I do for example "Account,Account,account" it doesn't work. (Token) Is there a mistake I'm doing?
Describe the solution you'd like
Only join servers on alts, fix webhooks.
Additional context
Does the both mode find codes on alts and snipe for main?
So recently I found out that my friend's alt claimed nitro vs his main even though they're in the same server, this is just as bad if someone else took it, Is there any way to prioritize all nitro to go on your main?
Hello, I recently found an issue when you deploy the sniper you get suspended from Heroku.
After a few minutes you get an authentication error, and you have to sign in again and when you attempt to log in your account you can't sign in.
When you check your email, and you'll see that your account was suspended.
I don't mind, was just a throwaway account.
I have this error "Invalid settings object, if you require more help visit https://github.com/slow/nitro-sniper#default-configuration for an example. Exiting process..."
I have put one main token and two alt tokens for alt and I put the url of webhook
if (!res.body || res.body?.length === 0) {
^
SyntaxError: Unexpected token '.'
I am using this locally.
Hey, im pretty new to this stuff can u help me setting it , i have no idea where to go or what to do could u please write me the steps easily and i wanted to ask if in a giveaway where there are 5 winners will i there be once or there will be my nae 5 times ? bcz i need only for time . Thank u waiting for your reply...
Issue with linux
2021-02-18T14_36_54_710Z-debug.log
Describe the bug
When I try to build the app on Heroku, the build fails.
Expected behavior
To build the app.
Error Message
-----> Building on the Heroku-20 stack
-----> Determining which buildpack to use for this app
-----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
NODE_VERBOSE=false
NODE_ENV=production
NODE_MODULES_CACHE=true
-----> Installing binaries
engines.node (package.json): >=14.0.0
engines.npm (package.json): unspecified (use default)
Resolving node version >=14.0.0...
Downloading and installing node 16.0.0...
Using default npm version: 7.10.0
-----> Installing dependencies
Installing node modules
npm ERR! code 1
npm ERR! path /tmp/build_76724f31/node_modules/erlpack
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! make: Entering directory '/tmp/build_76724f31/node_modules/erlpack/build'
npm ERR! CC(target) Release/obj.target/zlib/vendor/zlib/adler32.o
npm ERR! CC(target) Release/obj.target/zlib/vendor/zlib/compress.o
npm ERR! CC(target) Release/obj.target/zlib/vendor/zlib/crc32.o
npm ERR! CC(target) Release/obj.target/zlib/vendor/zlib/deflate.o
npm ERR! CC(target) Release/obj.target/zlib/vendor/zlib/gzclose.o
npm ERR! CC(target) Release/obj.target/zlib/vendor/zlib/gzlib.o
npm ERR! CC(target) Release/obj.target/zlib/vendor/zlib/gzread.o
npm ERR! CC(target) Release/obj.target/zlib/vendor/zlib/gzwrite.o
npm ERR! CC(target) Release/obj.target/zlib/vendor/zlib/infback.o
npm ERR! CC(target) Release/obj.target/zlib/vendor/zlib/inffast.o
npm ERR! CC(target) Release/obj.target/zlib/vendor/zlib/inflate.o
npm ERR! CC(target) Release/obj.target/zlib/vendor/zlib/inftrees.o
npm ERR! CC(target) Release/obj.target/zlib/vendor/zlib/trees.o
npm ERR! CC(target) Release/obj.target/zlib/vendor/zlib/uncompr.o
npm ERR! CC(target) Release/obj.target/zlib/vendor/zlib/zutil.o
npm ERR! AR(target) Release/obj.target/vendor/zlib.a
npm ERR! COPY Release/zlib.a
npm ERR! CXX(target) Release/obj.target/erlpack/js/erlpack.o
npm ERR! make: Leaving directory '/tmp/build_76724f31/node_modules/erlpack/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp info find Python using Python version 3.8.5 found at "/usr/bin/python3"
npm ERR! gyp http GET https://nodejs.org/download/release/v16.0.0/node-v16.0.0-headers.tar.gz
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.0.0/node-v16.0.0-headers.tar.gz
npm ERR! gyp http GET https://nodejs.org/download/release/v16.0.0/SHASUMS256.txt
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.0.0/SHASUMS256.txt
npm ERR! (node:938) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
npm ERR! (Use node --trace-deprecation ...
to show where the warning was created)
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/tmp/build_76724f31/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/tmp/build_76724f31/node_modules/erlpack/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/tmp/build_76724f31/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/app/.cache/node-gyp/16.0.0/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/app/.cache/node-gyp/16.0.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/tmp/build_76724f31/.heroku/node/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/app/.cache/node-gyp/16.0.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/tmp/build_76724f31/node_modules/erlpack',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! ../vendor/zlib/infback.c: In function āinflateBackā:
npm ERR! ../vendor/zlib/infback.c:479:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 479 | state->mode = LEN;
npm ERR! | ~~~~~~~~~~~~^~~~~
npm ERR! ../vendor/zlib/infback.c:481:9: note: here
npm ERR! 481 | case LEN:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c: In function āinflateMarkā:
npm ERR! ../vendor/zlib/inflate.c:1507:61: warning: left shift of negative value [-Wshift-negative-value]
npm ERR! 1507 | if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
npm ERR! | ^~
npm ERR! ../vendor/zlib/inflate.c: In function āinflateā:
npm ERR! ../vendor/zlib/inflate.c:720:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 720 | state->mode = EXLEN;
npm ERR! | ~~~~~~~~~~~~^~~~~~~
npm ERR! ../vendor/zlib/inflate.c:721:9: note: here
npm ERR! 721 | case EXLEN:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c:732:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 732 | state->mode = EXTRA;
npm ERR! | ~~~~~~~~~~~~^~~~~~~
npm ERR! ../vendor/zlib/inflate.c:733:9: note: here
npm ERR! 733 | case EXTRA:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c:754:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 754 | state->mode = NAME;
npm ERR! | ~~~~~~~~~~~~^~~~~~
npm ERR! ../vendor/zlib/inflate.c:755:9: note: here
npm ERR! 755 | case NAME:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c:775:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 775 | state->mode = COMMENT;
npm ERR! | ~~~~~~~~~~~~^~~~~~~~~
npm ERR! ../vendor/zlib/inflate.c:776:9: note: here
npm ERR! 776 | case COMMENT:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c:795:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 795 | state->mode = HCRC;
npm ERR! | ~~~~~~~~~~~~^~~~~~
npm ERR! ../vendor/zlib/inflate.c:796:9: note: here
npm ERR! 796 | case HCRC:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c:818:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 818 | state->mode = DICT;
npm ERR! | ~~~~~~~~~~~~^~~~~~
npm ERR! ../vendor/zlib/inflate.c:819:9: note: here
npm ERR! 819 | case DICT:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c:825:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 825 | state->mode = TYPE;
npm ERR! | ~~~~~~~~~~~~^~~~~~
npm ERR! ../vendor/zlib/inflate.c:826:9: note: here
npm ERR! 826 | case TYPE:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c:827:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 827 | if (flush == Z_BLOCK || flush == Z_TREES) goto inf_leave;
npm ERR! | ^
npm ERR! ../vendor/zlib/inflate.c:828:9: note: here
npm ERR! 828 | case TYPEDO:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c:877:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 877 | if (flush == Z_TREES) goto inf_leave;
npm ERR! | ^
npm ERR! ../vendor/zlib/inflate.c:878:9: note: here
npm ERR! 878 | case COPY_:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c:879:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 879 | state->mode = COPY;
npm ERR! | ~~~~~~~~~~~~^~~~~~
npm ERR! ../vendor/zlib/inflate.c:880:9: note: here
npm ERR! 880 | case COPY:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c:1018:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 1018 | if (flush == Z_TREES) goto inf_leave;
npm ERR! | ^
npm ERR! ../vendor/zlib/inflate.c:1019:9: note: here
npm ERR! 1019 | case LEN_:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c:1020:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 1020 | state->mode = LEN;
npm ERR! | ~~~~~~~~~~~~^~~~~
npm ERR! ../vendor/zlib/inflate.c:1021:9: note: here
npm ERR! 1021 | case LEN:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c:1069:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 1069 | state->mode = LENEXT;
npm ERR! | ~~~~~~~~~~~~^~~~~~~~
npm ERR! ../vendor/zlib/inflate.c:1070:9: note: here
npm ERR! 1070 | case LENEXT:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c:1079:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 1079 | state->mode = DIST;
npm ERR! | ~~~~~~~~~~~~^~~~~~
npm ERR! ../vendor/zlib/inflate.c:1080:9: note: here
npm ERR! 1080 | case DIST:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c:1106:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 1106 | state->mode = DISTEXT;
npm ERR! | ~~~~~~~~~~~~^~~~~~~~~
npm ERR! ../vendor/zlib/inflate.c:1107:9: note: here
npm ERR! 1107 | case DISTEXT:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c:1122:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 1122 | state->mode = MATCH;
npm ERR! | ~~~~~~~~~~~~^~~~~~~
npm ERR! ../vendor/zlib/inflate.c:1123:9: note: here
npm ERR! 1123 | case MATCH:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c:1197:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 1197 | state->mode = LENGTH;
npm ERR! | ~~~~~~~~~~~~^~~~~~~~
npm ERR! ../vendor/zlib/inflate.c:1198:9: note: here
npm ERR! 1198 | case LENGTH:
npm ERR! | ^~~~
npm ERR! ../vendor/zlib/inflate.c:1210:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 1210 | state->mode = DONE;
npm ERR! | ~~~~~~~~~~~~^~~~~~
npm ERR! ../vendor/zlib/inflate.c:1211:9: note: here
npm ERR! 1211 | case DONE:
npm ERR! | ^~~~
npm ERR! In file included from /app/.cache/node-gyp/16.0.0/include/node/v8.h:30,
npm ERR! from /app/.cache/node-gyp/16.0.0/include/node/node.h:63,
npm ERR! from ../../nan/nan.h:56,
npm ERR! from ../js/erlpack.cc:1:
npm ERR! /app/.cache/node-gyp/16.0.0/include/node/v8-internal.h: In function āvoid v8::internal::PerformCastCheck(T*)ā:
npm ERR! /app/.cache/node-gyp/16.0.0/include/node/v8-internal.h:452:38: error: āremove_cv_tā is not a member of āstdā; did you mean āremove_cvā?
npm ERR! 452 | !std::is_same<Data, std::remove_cv_t>::value>::Perform(data);
npm ERR! | ^~~~~~~~~~~
npm ERR! | remove_cv
npm ERR! /app/.cache/node-gyp/16.0.0/include/node/v8-internal.h:452:38: error: āremove_cv_tā is not a member of āstdā; did you mean āremove_cvā?
npm ERR! 452 | !std::is_same<Data, std::remove_cv_t>::value>::Perform(data);
npm ERR! | ^~~~~~~~~~~
npm ERR! | remove_cv
npm ERR! /app/.cache/node-gyp/16.0.0/include/node/v8-internal.h:452:50: error: template argument 2 is invalid
npm ERR! 452 | !std::is_same<Data, std::remove_cv_t>::value>::Perform(data);
npm ERR! | ^
npm ERR! /app/.cache/node-gyp/16.0.0/include/node/v8-internal.h:452:63: error: ā::Performā has not been declared
npm ERR! 452 | !std::is_same<Data, std::remove_cv_t>::value>::Perform(data);
npm ERR! | ^~~~~~~
npm ERR! In file included from ../js/erlpack.cc:3:
npm ERR! ../js/decoder.h: In member function āv8::Localv8::Value Decoder::decodeBig(uint32_t)ā:
npm ERR! ../js/decoder.h:260:62: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
npm ERR! 260 | const uint8_t length = static_cast(res);
npm ERR! | ^
npm ERR! In file included from ../../nan/nan.h:56,
npm ERR! from ../js/erlpack.cc:1:
npm ERR! ../js/erlpack.cc: At global scope:
npm ERR! /app/.cache/node-gyp/16.0.0/include/node/node.h:806:43: warning: cast between incompatible function types from āvoid ()(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)ā {aka āvoid ()(v8::Localv8::Object)ā} to ānode::addon_register_funcā {aka āvoid ()(v8::Localv8::Object, v8::Localv8::Value, void)ā} [-Wcast-function-type]
npm ERR! 806 | (node::addon_register_func) (regfunc),
npm ERR! | ^
npm ERR! /app/.cache/node-gyp/16.0.0/include/node/node.h:840:3: note: in expansion of macro āNODE_MODULE_Xā
npm ERR! 840 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../js/erlpack.cc:49:1: note: in expansion of macro āNODE_MODULEā
npm ERR! 49 | NODE_MODULE(erlpack, Init);
npm ERR! | ^~~~~~~~~~~
npm ERR! make: *** [erlpack.target.mk:120: Release/obj.target/erlpack/js/erlpack.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: make
failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/tmp/build_76724f31/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:365:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Linux 4.4.0-1088-aws
npm ERR! gyp ERR! command "/tmp/build_76724f31/.heroku/node/bin/node" "/tmp/build_76724f31/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /tmp/build_76724f31/node_modules/erlpack
npm ERR! gyp ERR! node -v v16.0.0
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/npmcache.fDvqK/_logs/2021-04-20T18_57_50_352Z-debug.log
-----> Build failed
We're sorry this build is failing! You can troubleshoot common issues here:
https://devcenter.heroku.com/articles/troubleshooting-node-deploys
Some possible problems:
- Dangerous semver range (>) in engines.node
https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
Love,
Heroku
! Push rejected, failed to compile Node.js app.
! Push failed
Additional context
I deleted my original app to remake it and add a webhook this time.
Heya, firstly I want to thank you for this, It works like a charm. I was wondering how I could reduce the time taken to snipe the code on heroku. Currently getting 300ms - 800ms .. Any tips appreciated :)
When i turn on the sniper, it gives me a message:"Main token does not have a billing source, some codes will not be sniped".
How can i resolve it?
Is your feature request related to a problem? Please describe.
does not dm if won a giveaway when rerolled
Describe the solution you'd like
send dm to giveaway hoster also when rerolled
Additional context
Add any other context or screenshots about the feature request here.
root@instance-1:~/nitro-sniper# node .
/root/nitro-sniper/src/index.js:127
if (!res.body || res.body?.length === 0) {
^
SyntaxError: Unexpected token .
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
Is your feature request related to a problem? Please describe.
I sometimes get caught when I win many giveaways from the same host, and respond with the same message every time.
Describe the solution you'd like
I would love for it to be possible for the sniper to randomly choose a message to be sent to the giveaway host if you win. to avoid repetition
Additional context
example:
"dmMessage": "yo i won",
" y",
" dmed",
" pls be legit",
hey my bot worked fine for like 5/7 mins then i went to see the logs and they were like this?
2021-04-20T14:20:00.011281+00:00 app[sniper.1]: main.Ase256(0xc000029660, 0xe, 0x12, 0xc000029770, 0x20, 0xc000029790, 0x10, 0x20, 0xc000029790)
2021-04-20T14:20:00.011352+00:00 app[sniper.1]: /tmp/build_70af5454/sniper.go:113 +0x1ac
2021-04-20T14:20:00.011418+00:00 app[sniper.1]: main.messageCreate(0xc0001c0000, 0xc006138800)
2021-04-20T14:20:00.011490+00:00 app[sniper.1]: /tmp/build_70af5454/sniper.go:969 +0xe31
2021-04-20T14:20:00.011595+00:00 app[sniper.1]: github.com/bwmarrin/discordgo.messageCreateEventHandler.Handle(0x83e3c8, 0xc0001c0000, 0x7bfb60, 0xc006138800)
2021-04-20T14:20:00.011667+00:00 app[sniper.1]: /tmp/codon/tmp/cache/go-path/pkg/mod/github.com/bwmarrin/[email protected]/eventhandlers.go:497 +0x4b
2021-04-20T14:20:00.011702+00:00 app[sniper.1]: created by github.com/bwmarrin/discordgo.(*Session).handle
2021-04-20T14:20:00.011774+00:00 app[sniper.1]: /tmp/codon/tmp/cache/go-path/pkg/mod/github.com/bwmarrin/[email protected]/event.go:171 +0x111
2021-04-20T14:20:00.075428+00:00 heroku[sniper.1]: Process exited with status 2
2021-04-20T14:20:00.140579+00:00 heroku[sniper.1]: State changed from up to crashed
DID THE BOT CRASH? HOW CAN I FIX THIS ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ššš
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ā¤ļø Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.