Author Topic: Cooldown by user  (Read 3432 times)

0 Members and 1 Guest are viewing this topic.

SinNoAria

  • Youngling
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
    • SinNoAria YT
  • Twitch Name: SinNoAria
Cooldown by user
« on: October 28, 2015, 11:12:50 PM »
I have a few commands that instead of or alongside a global cooldown, I want a by user cooldown.

For example:

!hostme command, I want a 30 minute global cooldown.
!hostme command, I want a 90 minute user cooldown.

!VIPMe, I want no global cooldown.
!VIPMe, I want a 30 day user cooldown.

!ChaoticAirs, I want a 44 second global cooldown.
!ChaoticAirs, I want no user cooldown (44 seconds is already global).

emrerocky

  • Advisor
  • Councilor
  • **
  • Posts: 1240
  • Karma: +163/-8
    • View Profile
    • emrerocky's Website
  • Twitch Name: emrerocky
Re: Cooldown by user
« Reply #1 on: October 31, 2015, 04:32:08 AM »
This is something that probably won't happen for a very long time as the bot would have to keep track of every command every user individually says, which would be very resource intensive to your system and lag your streams and games.

SinNoAria

  • Youngling
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
    • SinNoAria YT
  • Twitch Name: SinNoAria
Re: Cooldown by user
« Reply #2 on: October 31, 2015, 08:29:20 AM »
This is something that probably won't happen for a very long time as the bot would have to keep track of every command every user individually says, which would be very resource intensive to your system and lag your streams and games.

There are bots that have this functionality though. I do agree that it could be resource intensive (especially if you don't have a dedicated bot computer) for larger streams, but for smallers streams, it could just keep track similarly to how you can put a delay on your points check.

emrerocky

  • Advisor
  • Councilor
  • **
  • Posts: 1240
  • Karma: +163/-8
    • View Profile
    • emrerocky's Website
  • Twitch Name: emrerocky
Re: Cooldown by user
« Reply #3 on: October 31, 2015, 08:58:33 AM »
With the points command that is just one command.  Some channels may have hundreds of commands, and the bot would have to keep track of every user, for every command.

SinNoAria

  • Youngling
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
    • SinNoAria YT
  • Twitch Name: SinNoAria
Re: Cooldown by user
« Reply #4 on: November 01, 2015, 01:06:01 AM »
Even so, considering I have used bots that do this on a per command basis, as long as it is used in moderation, it shouldn't be a problem, right?

Or perhaps have them all attached to the same per user cooldown so that commands with the option active share cooldowns with designated other commands. (essentially every command designated shares a cooldown with the points command).

Main reason I am asking is due to things like !ticket # being spammed in certain streams. If I put a cooldown manually, that means everyone shares the cooldown.

RADRaze2KX

  • Youngling
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
  • Twitch Name: RADRaze2KX
Re: Cooldown by user
« Reply #5 on: March 30, 2016, 09:50:43 AM »