Deep Bot - Twitch Streamer Assistant

Deep Bot => Feature Requests => Topic started by: TheMrCodeq on August 28, 2015, 03:30:28 AM

Title: Limit the amount of times a command can be used
Post by: TheMrCodeq on August 28, 2015, 03:30:28 AM
Hi,

So I was wondering, would it be possible to implement a feature whereby there is a limit for how many times a command can be used per stream? I realise that the logistics behind that would be quite difficult, but there are a few commands in a stream I moderate for where they use the sound playback and a limit to the amount they can be used would be great.

Thanks,

Codeq
Title: Re: Limit the amount of times a command can be used
Post by: TheNumbLock on August 28, 2015, 11:44:14 AM
You can just use the cooldown feature.

(http://puu.sh/jRcbb/e13d560a32.png)
Title: Re: Limit the amount of times a command can be used
Post by: SinNoAria on October 28, 2015, 11:37:48 PM
You can just use the cooldown feature.

(http://puu.sh/jRcbb/e13d560a32.png)

I've compared the two options and both options are nice. Revlobot has you manually reset the limit, which I think works well. (Sort of like counter)

Cooldown is somewhat limited though for this role.

I might want only 4 people to get a shoutout at the end of the stream. Putting a cooldown is all fine and dandy, but...

What if my stream runs longer? Do I have to go and turn off the command mid-stream? Interrupting my stream? What if my stream ends early? Do I have to go and turn off the cooldown and turn it back on once enough people are in?

I might want only 20 people to be able to use a command that gives them 500 points each stream. I could use a cooldown for that, but then they have to wait, especially with the global cooldown in place.  With a limit, it would just be first 20 that use the command. (Queue would be possible, but manually doing that and the limit of 2 open queues...)

One way to sort of do it is if you are vip, you could, in theory, try the if command, but you would need a logistical compare rather than a equal/not equal compare.
Title: Re: Limit the amount of times a command can be used
Post by: TheNumbLock on October 29, 2015, 01:51:26 AM
A limit on how many times a command can be run is on the suggestion list.