# gay.evil.superbot.command

> A custom chat command on the account owner's Streamplace channel. Superbot answers !name (and its aliases) with the response, which can use $(variables).

- Kind: record
- Record key: tid
- Authority: superbot.evil.gay
- Lexicon: 1
- Published by [superbot.evil.gay](https://lexicon.garden/identity/did:plc:ulrdcgudase5ksj7cay2zhqt), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:ulrdcgudase5ksj7cay2zhqt/gay.evil.superbot.command)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:ulrdcgudase5ksj7cay2zhqt/gay.evil.superbot.command/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:ulrdcgudase5ksj7cay2zhqt/gay.evil.superbot.command/analytics)

## Record (`gay.evil.superbot.command`)

Type: record · key tid

### Properties

- `aliases` (array)
  - Constraints: maxLength: 20
  - `items` (string)
    - Constraints: maxLength: 150, maxGraphemes: 50
- `conditions` (ref)
  - Reference: `gay.evil.superbot.defs#conditions`
- `createdAt` (string · datetime, required)
- `enabled` (boolean)
- `expiry` (ref)
  - Reference: `gay.evil.superbot.defs#expiry`
- `globalCooldown` (integer): Seconds.
  - Constraints: minimum: 0, maximum: 1209600
- `keywords` (array): Phrases that also trigger the command without the prefix.
  - Constraints: maxLength: 20
  - `items` (ref)
    - Reference: `gay.evil.superbot.defs#phrase`
- `name` (string, required): Lowercase, without the prefix.
  - Constraints: maxLength: 150, maxGraphemes: 50
- `response` (string, required)
  - Constraints: maxLength: 6000, maxGraphemes: 2000
- `responseType` (ref)
  - Reference: `gay.evil.superbot.defs#responseType`
- `updatedAt` (string · datetime)
- `userCooldown` (integer): Seconds.
  - Constraints: minimum: 0, maximum: 1209600

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A custom chat command on the account owner's Streamplace channel. Superbot answers !name (and its aliases) with the response, which can use $(variables).",
      "key": "tid",
      "record": {
        "properties": {
          "aliases": {
            "items": {
              "maxGraphemes": 50,
              "maxLength": 150,
              "type": "string"
            },
            "maxLength": 20,
            "type": "array"
          },
          "conditions": {
            "ref": "gay.evil.superbot.defs#conditions",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "expiry": {
            "ref": "gay.evil.superbot.defs#expiry",
            "type": "ref"
          },
          "globalCooldown": {
            "description": "Seconds.",
            "maximum": 1209600,
            "minimum": 0,
            "type": "integer"
          },
          "keywords": {
            "description": "Phrases that also trigger the command without the prefix.",
            "items": {
              "ref": "gay.evil.superbot.defs#phrase",
              "type": "ref"
            },
            "maxLength": 20,
            "type": "array"
          },
          "name": {
            "description": "Lowercase, without the prefix.",
            "maxGraphemes": 50,
            "maxLength": 150,
            "type": "string"
          },
          "response": {
            "maxGraphemes": 2000,
            "maxLength": 6000,
            "type": "string"
          },
          "responseType": {
            "ref": "gay.evil.superbot.defs#responseType",
            "type": "ref"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          },
          "userCooldown": {
            "description": "Seconds.",
            "maximum": 1209600,
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "name",
          "response",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "gay.evil.superbot.command",
  "lexicon": 1
}
```
