Comments (8)
@ImAboutTo no, I mean you should use another library like aiohttp as requests is sync/blocking, which would block your bot from receiving processing anything until the request completes since discord.py is async. It would also be better if a user-agent is sent that mimics the client to make detection harder
from nitrosniper.
Thanks for teaching me that! I will update it when I have time to do it. It might be in a few weeks so if someone wants to do it, he can do a pull request and I'll accept it.
from nitrosniper.
You should use an async library like aiohttp, or just use discord.py’s internal http library to make the request. Using a sync library with an async library is a bad idea. The other way to do it is to just not use discord.py and just connect to the gateway manually.
Can you tell me why would this be a bad Idea? Beacuse I used it in my bot to should I change it to for example https://ptb.discordapp.com/api/v6/entitlements/gift-codes/' or what do you mean ?
from nitrosniper.
Btw I would add If the author is a bot check so that it wont react on a user typing Giveaway in the chat like message.auther.bot and...
from nitrosniper.
@ImAboutTo no, I mean you should use another library like aiohttp as requests is sync/blocking, which would block your bot from receiving processing anything until the request completes since discord.py is async. It would also be better if a user-agent is sent that mimics the client to make detection harder
Thank you for your Tip, btw can I message u somewhere like discord or smth
from nitrosniper.
You can join my server at: https://discord.gg/uCtymGD
Note: I don’t use not use nor do I endorce using this tool to all discord staff looking at this comment. Infact I even ban people in my server using this took through sending gift links to my game and checking entitlements/making my bot send an embed with giveaway, and seeing people react to it.
from nitrosniper.
You can join my server at: https://discord.gg/uCtymGD
Note: I don’t use not use nor do I endorce using this tool to all discord staff looking at this comment. Infact I even ban people in my server using this took through sending gift links to my game and checking entitlements/making my bot send an embed with giveaway, and seeing people react to it.
Good prank
from nitrosniper.
Updated here bf3acbb (this doesn't mean that you should use this version, go use NitroSniperGo instead)
from nitrosniper.
Related Issues (20)
- Error HOT 1
- Something messed up and I don't understand HOT 2
- hi everyone HOT 10
- I have a Question HOT 5
- Hosting HOT 2
- To Join Giveaway LittleBit faster HOT 3
- Join Giveaway with 10sec timelimit HOT 1
- join giveaway in 10sec HOT 1
- can you make it to not join some giveaway? HOT 10
- exceptions HOT 3
- help HOT 5
- Starting error? HOT 1
- How do I use .py files? HOT 1
- are there any new nitro sniper download? HOT 1
- how to use??? HOT 1
- update request HOT 1
- Redeclaration of main HOT 2
- nitro isn't going into my account HOT 3
- how do I run it on repl.it? HOT 1
- hey man. is it cool if you get me free nitro?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nitrosniper.