---
description: The slash command
---

# Command

[https://github.com/flamexdev/dsc-utils/blob/main/package/src/structures/command.js](https://github.com/flamexdev/dsc-utils/blob/main/package/src/structures/command.js)

{% tabs %}
{% tab title="name" %}
| Type   | Description                                             | Required |
| ------ | ------------------------------------------------------- | :------: |
| string |  1-32 lowercase character name matching `^[\w-]{1,32}$` |    Yes   |
{% endtab %}

{% tab title="description" %}
| Type   | Description                  | Required |
| ------ | ---------------------------- | :------: |
| string |  1-100 character description |    Yes   |
{% endtab %}

{% tab title="options" %}
| Type                    | Description                     | Required |
| ----------------------- | ------------------------------- | :------: |
| array of CommandOptions |  the parameters for the command |    No    |

{% content-ref url="commandoption" %}
[commandoption](commandoption)
{% endcontent-ref %}
{% endtab %}

{% tab title="default_permission" %}
| Type    | Description                                                                 | Default | Required |
| ------- | --------------------------------------------------------------------------- | ------- | :------: |
| boolean |  whether the command is enabled by default when the app is added to a guild | true    |    No    |
{% endtab %}

{% tab title="returns" %}
{% content-ref url="broken-reference" %}
[Broken link](broken-reference)
{% endcontent-ref %}
{% endtab %}
{% endtabs %}

