Giter Site home page Giter Site logo

Comments (8)

applebee1558 avatar applebee1558 commented on August 20, 2024 1

@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.

Vedza avatar Vedza commented on August 20, 2024

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.

ImAboutTo avatar ImAboutTo commented on August 20, 2024

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.

ImAboutTo avatar ImAboutTo commented on August 20, 2024

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 avatar ImAboutTo commented on August 20, 2024

@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.

applebee1558 avatar applebee1558 commented on August 20, 2024

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.

user-take avatar user-take commented on August 20, 2024

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.

Vedza avatar Vedza commented on August 20, 2024

Updated here bf3acbb (this doesn't mean that you should use this version, go use NitroSniperGo instead)

from nitrosniper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.