Code Monkey home page Code Monkey logo

Comments (2)

zplus11 avatar zplus11 commented on June 10, 2024

Although you can choose a number of winners between 1 and 10 to reroll, the bot by default only rerolls one winner when you run the "/greroll" command. So I don't know why you would have to reroll all of them... Besides, the number 12 is an exaggeration. You would never have to reroll 12 people on a giveaway with 3 winners even by the logic you describe. It would be insane. Say 2 left, then just reroll once (thereby getting 3 winners by your logic). That should be enough to fill the 2 vacant seats. So in all it'll be 4 winners not 12. And again, this was following your logic. If you do it the GiveawayBot way, you'll have no more than your desired number of winners no matter what, in such a case.

from giveawaybot.

jagrosh avatar jagrosh commented on June 10, 2024

As stated, rerolling by default only rerolls one new winner, and it doesn't overwrite the existing winners.

Additionally, this is not the easiest thing to implement into the bot. Since the bot is REST-only, it doesn't actually know if users have left the server. Making additional API calls to check for this seems excessive, especially since some servers might want to allow anyone who has entered to win, and rerolling is very easy.

from giveawaybot.

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.