Author Topic: Cooldown check?  (Read 1816 times)

0 Members and 1 Guest are viewing this topic.

McVeganPants

  • Youngling
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
  • Twitch Name: McVeganPants
Cooldown check?
« on: March 13, 2018, 05:52:35 AM »
Is there a way I can allow the folks in chat to check how much time is left on the cooldown timer?

I have a command in my stream that is very popular, but which I have given a two hour cooldown.  People in my chat sometimes spam the command periodically to see if it will work or not.  I'd much rather give them the ability to see how much time is left, but I can't figure it out.

Thanks!

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Cooldown check?
« Reply #1 on: March 13, 2018, 06:59:33 AM »
Yes, but not as simple as you probably want it.

http://wiki.deepbot.tv/user_custom_commands#cooldown_per_user
Old Name: RepentGamingTV
Twitch: Here

Need help ASAP?
Join Deepbot's Discord: Discord.Deepbot.tv
Deepbot's Twitter: @DeepSupport

McVeganPants

  • Youngling
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
  • Twitch Name: McVeganPants
Re: Cooldown check?
« Reply #2 on: March 13, 2018, 09:29:32 PM »
Yeah, that one won't work. I need to cooldown to be global, not per user.  The command I want it for is a currency redeem to give my dog treats. I only want this to happen once or twice in a stream, or I'll have one heck of a little porker.  :P

Thanks for trying!

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Cooldown check?
« Reply #3 on: March 14, 2018, 07:08:19 PM »
It will work. You can do a global cooldown, instead of per user with it. Just have to customize it. ;)
« Last Edit: April 13, 2018, 07:52:51 PM by TheNumbLock »
Old Name: RepentGamingTV
Twitch: Here

Need help ASAP?
Join Deepbot's Discord: Discord.Deepbot.tv
Deepbot's Twitter: @DeepSupport

TSForrest

  • Youngling
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
  • Twitch Name: TSForrest
Re: Cooldown check?
« Reply #4 on: April 13, 2018, 02:35:06 AM »
I would really like to see a cooldown time remaing response, just like user's get an "access denied" message.  if a command is on cooldown, it would be really nice for users tyo automaticall be notified of how much time is left until it can be run again.  I have dozens of commands that have 5+ minute cooldowns, and some voer 30 minutes, and it is impossible to keep track of more than 1 or 2, and when people try the command, there is no indication that it is on cooldown, except the command doesn't work.  I would really like to see this added as an an option for all commands, and not need to have complicated customization for each command, which may already include complicated customization.