# info

{% code title="Example" overflow="wrap" %}

```yaml
info:
  type: "info"
  enabled: true
  name: "info"
  message: "Info!"
```

{% endcode %}

{% code title="Example 2 (Multiple Lines)" overflow="wrap" %}

```yaml
info:
  # I'd love it if you kept this command on your server <3
  # Shows information about this plugin.
  type: "info"
  enabled: true
  name: "leaf"
  message:
    - "&8&m&l-------&r &a&lLeaf &8&m&l-------"
    - "&7"
    - "&7Velocity Proxy Plugin"
    - "&7Version &f<version>"
    - "&7Author &fSmudge"
    - "&7"
    - "&8&m&l--------------------"
```

{% endcode %}

```yaml
info:
  type: "info"
  enabled: true
  name: "leaf"
  message:
    - "&8&m&l-------&r &a&lLeaf &8&m&l-------"
    - "&7"
    - "&7Velocity Proxy Plugin"
    - "&7Version &f<version>"
    - "&7Author &fSmudge"
    - "&7"
    - "&8&m&l--------------------"
  # If they input a argument that doesn't exist.
  alternative: "The message for this argument doesn't exist."
  arguments:
    case1:
    - "Message to sent when this argument is used"
  discord_bot:
    enabled: false
    argument_name: "Argument"
    argument_description: "The info argument"
    alternative: "The message for this argument doesn't exist."
    arguments:
      case1:
        embeds:
          1:
            title:
              message: "Leaf"
            description:  
              - "**Velocity Proxy Plugin**"
              - "Version `<version>`"
              - "Author `Smudge`"
```

{% code title="Exaample 3 (Discord Bot)" overflow="wrap" %}

```yaml
info:
  # I'd love if you kept this command on your server <3
  # Shows information about this plugin.
  type: "info"
  enabled: true
  name: "leaf"
  message:
    - "&8&m&l-------&r &a&lLeaf &8&m&l-------"
    - "&7"
    - "&7Velocity Proxy Plugin"
    - "&7Version &f<version>"
    - "&7Author &fSmudge"
    - "&7"
    - "&8&m&l--------------------"
  discord_bot:
    enabled: false
    allowed_channels:
      - "1150803388309712947"
    channel_not_allowed: "You cannot run this command in this channel."
    permissions:
      - ADMINISTRATOR
    no_permission: "You do not have permission to run this command."
    message:
      embeds:
        1:
          title:
            message: "Leaf"
          description:
            - "**Velocity Proxy Plugin**"
            - "Version `<version>`"
            - "Author `Smudge`"
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://smuddgge.gitbook.io/leaf/4.4/commands/other-types/info.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
