Author Topic: Per-user channel command cooldown  (Read 1734 times)

0 Members and 1 Guest are viewing this topic.

CreeCyan

  • Youngling
  • *
  • Posts: 22
  • Karma: +0/-0
  • Let's go gaming!
    • View Profile
    • CreeCyan on Twitch
  • Twitch Name: CreeCyan
Per-user channel command cooldown
« on: July 30, 2017, 10:52:41 AM »
Hey guys,
Are per-user channel command cooldowns possible? For example, I've got the !coins command set up to check the points. The channel currency has become very popular, people are fighting for places on the leaderboard, comparing the riches and all that. A lot of fun overall. :) However, it's a bit spammy when after a bank heist or arena all the participants go checking their coins, then, for example, they do a quick gamble (custom mini game) and check their coins again 10 seconds later. Is there a way to add a per-user cooldown. The overall cooldown is quite annoying as it prevents others from checking their points when someone has just done that, and to make matters worse, the bot doesn't say that the command is on cooldown, so they think that it's broken (similar problem with my quote command, I've got 1 min cooldown, but it confuses people when the bot just doesn't respond).
twitch.tv/CreeCyan

Dante557

  • Advisor
  • Councilor
  • **
  • Posts: 555
  • Karma: +26/-0
  • Sometimes Helpful, Sometimes Not :D
    • View Profile
    • My Twitch Page
  • Twitch Name: Dante557
Re: Per-user channel command cooldown
« Reply #1 on: July 31, 2017, 12:13:05 AM »
http://wiki.deepbot.tv/user_custom_commands#cooldown_per_user We already have you covered on that one ;)

Regards,
Dante557
If you need to get through to me you can try to contact me on Twitter @ http://www.twitter.com/dante556

CreeCyan

  • Youngling
  • *
  • Posts: 22
  • Karma: +0/-0
  • Let's go gaming!
    • View Profile
    • CreeCyan on Twitch
  • Twitch Name: CreeCyan
Re: Per-user channel command cooldown
« Reply #2 on: July 31, 2017, 07:42:51 PM »
Cheers! The red warnings at the top of the page kinda scared me off, but I'll try implementing this! Thanks!  :)
twitch.tv/CreeCyan