CactusDev / CactusBot

An open source, community-written service-agnostic chat bot
MIT License
30 stars 6 forks source link

Add !giveaway #112

Open willow-bohlen opened 7 years ago

willow-bohlen commented 7 years ago

(copied from this PR)

Giveaways in streams can be difficult when people are afk/don't want the item/are bots, so this command would streamline it to run the giveaway just once.

USAGE: !giveaway start time (Mod-Only) ------ Starts the giveaway countdown for a certain time, defaults to 60 !giveaway join -------------------------- Join the giveaway while it is counting down !giveaway end (Mod-Only) ------------ Stops the countdown and picks a winner. !giveaway cancel (Mod-Only) --------- Cancels the giveaway without picking a winner.

2Cubed commented 7 years ago

I'd propose adding:

!giveaway start (Mod-Only) ----- Runs giveaway immediately with all chat members.

Also, I would love to see role filtering integrated... for example, subscriber-only giveaways, or giving bias to subscribers, or excluding moderators, or whatever.

MindlessPuppetz commented 7 years ago

Also, maybe a way to specify a custom keyword to join instead of them needing to run a command. !giveaway start <time> <keyword>

So viewers could just type keyword in chat during the time limit to enter

willow-bohlen commented 7 years ago

@2Cubed Well running it instantly with all of chat is no different than the builtin /giveaway. !giveaway is specifically designed to fix some of the issues with it. The other stuff with roles could definitely be a thing though!

@MindlessPuppetz OOO YES! That's a really good idea, will definitely add that :D

2Cubed commented 7 years ago

@QuirkySquid Not all services (for example, Discord) have a built-in giveaway functionality, so it would be cool if we did. And the instant running could even be combined with the roles sometimes, which Beam doesn't have - for example, I could run a giveaway that instantly picks a random subscriber.

willow-bohlen commented 7 years ago

@2Cubed Oh right, we're multiplatform now XD

Alright, I think that something like !giveaway instant (role) would be good for that.

QueenOfChibiArt commented 7 years ago

Hello there~ I like the idea of having a specific word to enter the giveaway or even like a default word like just typing !giveaway to join the giveaway.

I know it might be impossible, but is there a way to have a list of all the users who won the giveaway or at least stored somewhere? Sometimes you don't want the same person winning more than once within a period of time (specially with art and huge monetary giveaways)

willow-bohlen commented 7 years ago

Working on this now, hopefully it will be ready soon™