Skip to content
Kalbintion Kier edited this page Jul 3, 2017 · 6 revisions

timers is a basic command found in any channel Kdkbot is a part of. timer's are used to repeat messages in a channel on a given interval.

Syntax

  • timer new <id> <delay> <message> | remove <id> | edit <id> <message>

New

timer new id delay message will create a new message timer with an id of id and a delay of delay seconds sending the message provided to the channel. See the Edit section for more settings.

Remove

timer remove id will remove a timer based on id.

Edit

timer edit will edit a timer based on id's message. If any flags are specified as mentioned below, they will need to be met before a message will be seen in a channel. If multiple of them are set, the timer will require all of them to be met before it is sent.

Requiring Live

This is enabled by default of all timers, however if you wish to disable/enable, use the command timer edit <id> needslive true/false

Requiring Certain # of Messages

Use timer edit id msgcount ### to change the amount of messages required per cycle for it to be sent. Set ### to 0 to remove requirement. Note: If this setting is set to 5, and only 3 messages are sent within the time frame only, then the message will not be sent and require 5 messages to be sent within the next cycle. That is to say it resets the amount of messages received every cycle. Done to prevent spam when chat gets quiet at certain points.

Requiring Certain Game

Use timer edit id reqgame game_name to change the name of the game required for the message to be sent. Leave game_name empty to remove the restriction.

Clone this wiki locally