-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
raffle #23
Comments
or
|
I also added |
leaving the ticket open in case we need to do some tweaks.
Would be nice to be able to set a ticket limit... E.g. only one ticket per person per raffle. Love the idea though. I'm going to use it to give away copies of my book regularly! |
You got it boss. |
|
Need to do some cleanup on the code at some point, there are a couple ugly parts. stringTemplates would probably help too. One thing I think we will run into is that you can only have one raffle going at a time - but supporting multiples adds quite a bit of complexity. It would also be nice to be able to set a reminder for a specific channel that sends a message every so many minutes or after so many messages to announce / remind of the raffle - but I think this functionality should be more generic and available for a lot of uses and I want to think about it some more. |
What do you guys think of this?
|
I want to set this up in the core as something you can register for, so that we dont have a bunch of plugins with their own timers. So something like
then you could do whatever logic in the handling function. I want to use the same functionality for the rss watchers and bug announcers. |
👍 |
add the following:
|
Would |
im not against it, when it comes time to work on this ill research if there are anything that would be inconsistent. |
Allow ops to create a raffle and allow users to enter through DM.
OP commands:
!raffle -create {description}
will create a new raffle!raffle -update {description}
will update the description!raffle -cooldown {cooldown}
will set the cooldown in minutes. If you don't run this command the default will be 60 minutes.!raffle -reset
will clear the current raffle and votes!raffle -pick
will pick a user from the raffle and announce the winner. Doesn't reset anything, you can run pick as many times as you need to. Not going to implement earlier winner exclusion in the beginning.User Commands
!raffle
will show the current raffle!ticket
in a DM will enter the user in the raffle and show how many tickets they haveThe text was updated successfully, but these errors were encountered: