online.timtinkers.bot.recurring

bot.timtinkers.online

Documentation

Record describing a timer for a recurring bot command.

main record

Record describing a timer for a recurring bot command.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

Timestamp when the recurring command was created

intervalSeconds integer Optional

The interval between recurring commands (maximum 12 hours).

minimum: 60maximum: 43200
minMessages integer Optional

The minimum amount of messages in chat since the last recurring command of this trigger.

trigger string Required

The command trigger without prefix (e.g., 'socials', 'hug', 'd6')

maxLength: 50 bytesminLength: 1 bytes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "trigger",
      "createdAt"
    ],
    "properties": {
      "trigger": {
        "type": "string",
        "maxLength": 50,
        "minLength": 1,
        "description": "The command trigger without prefix (e.g., 'socials', 'hug', 'd6')"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp when the recurring command was created"
      },
      "minMessages": {
        "type": "integer",
        "description": "The minimum amount of messages in chat since the last recurring command of this trigger."
      },
      "intervalSeconds": {
        "type": "integer",
        "maximum": 43200,
        "minimum": 60,
        "description": "The interval between recurring commands (maximum 12 hours)."
      }
    }
  },
  "description": "Record describing a timer for a recurring bot command."
}

Lexicon Garden

@