# Utilities

### `a!timer`

{% tabs %}
{% tab title="Usage" %}

* `a!timer <duration> [name]` - Creates a timer with custom duration & name.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2F2gyyVzoqHwgXh1iGPOq6%2FANHFGrTJn5.gif?alt=media&#x26;token=e81fb5e1-d6a0-4302-8c7e-3ef60cb8b167" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!timestamp`

{% tabs %}
{% tab title="Usage" %}

* `a!timestamp <time>` - Creates a discord formatted timestmap for a time.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2FWpWBWtelYM2hRBiCkGXW%2FDiscordPTB_V3LPwfCnFd.gif?alt=media&#x26;token=5be286f7-69c0-4886-958a-72139b697746" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!movech`

{% tabs %}
{% tab title="Usage" %}

* `a!movech <category-id>` - Moves a text channel to a category.
  {% endtab %}
  {% endtabs %}

### `a!roleicon`

{% tabs %}
{% tab title="Usage" %}

* `a!roleicon <role> <icon>` - Sets roleicon for a role.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2FKwGSeshTYAoWg7NbhzSg%2FDiscordPTB_hljnY5XBTR.gif?alt=media&#x26;token=9bf545ab-3dac-498e-8623-e91bfa481ff0" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!snipe`

{% tabs %}
{% tab title="Usage" %}

* `a!snipe [channel] [index] [all]` - Retrives a deleted message.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2Fxz5AxH3zWoEPLaXWbZNb%2FDiscordPTB_atmlfdSqzQ.gif?alt=media&#x26;token=fc712892-b448-4033-8e67-092f027f603d" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!purge`

{% tabs %}
{% tab title="Usage" %}

* `a!purge <count>` - Deletes the number of specified messages from the channel.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2FbhE4Su2h2OEIX4X1A7fV%2FDiscordPTB_wgIQjhWTgv.gif?alt=media&#x26;token=e057cc79-1372-4c05-b038-342d59bfd148" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!nuke`

{% tabs %}
{% tab title="Usage" %}

* `a!nuke [channel]` - Deletes a channel and clones it to remove all the pings.

{% hint style="danger" %}
**WARNING - DESTRUCTIVE ACTION**

`a!nuke` is a destructive action and cannot be reversed. Meaning the messages/attachments/embeds/pings from a channel cannot be restored again. Run this command only if you are sure about the damage caused by it.
{% endhint %}
{% endtab %}

{% tab title="Examples" %}

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2F8MiyvCcNY0N6Ms68twP1%2Fchrome_RIWd2aJI73.gif?alt=media&#x26;token=fdd7380d-eb5b-4c31-a8b3-37436fb307c2" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!clone`

{% tabs %}
{% tab title="Usage" %}

* `a!clone` - Clones a channel without deleting the initial channel.
  {% endtab %}
  {% endtabs %}

### `a!timedif`

{% tabs %}
{% tab title="Usage" %}

* `a!timedif` - Check the time different between two messages
* For explanation, go to [time-difference](https://docs.apollo-bot.xyz/guides/time-difference "mention")
  {% endtab %}
  {% endtabs %}

### `a!avatar`

{% tabs %}
{% tab title="Usage" %}

* `a!avatar [user]` - View your avatar or other user's avatar.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2FuTkKlxWC57jh9PM8f4tl%2Fchrome_jXeeKl9VPi.gif?alt=media&#x26;token=1b773f24-2a47-43d8-9667-ad06d2cdef18" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!userinfo`

{% tabs %}
{% tab title="Usage" %}

* `a!userinfo [user]` - View your info or other user's information.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2FFgRw4HDG3teiX96IUvAK%2Fchrome_K7eSTheE84.gif?alt=media&#x26;token=089a41da-5659-483d-8001-638ca09cbf6a" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!afk`

{% tabs %}
{% tab title="Usage" %}

* `a!afk [all_servers] [reason]` - Sets you as AFK.

{% hint style="info" %}
Argument `all_servers` must be yes/no or True/False.

`all_servers` helps the bot set you AFK globally or server only.
{% endhint %}
{% endtab %}

{% tab title="Examples" %}

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2FAi2HkGzfc8E8pQs2nGEu%2Fchrome_7EtuKDerEl.gif?alt=media&#x26;token=8f159b8d-4c96-4fce-ba16-913fa8bb1bbc" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!clear-afk`

{% tabs %}
{% tab title="Usage" %}

* `a!clear-afk <member>` - Clear the AFK status of a member (server only).
  {% endtab %}
  {% endtabs %}

### `a!afk-toggle`

{% tabs %}
{% tab title="First Tab" %}

* `a!afk-toggle <state>` - Enable or disable the afk module within your server.
  {% endtab %}

{% tab title="Second Tab" %}

{% endtab %}
{% endtabs %}

### `a!membercount`

{% tabs %}
{% tab title="Usage" %}

* `a!membercount` - Shows the current membercount of the server.
  {% endtab %}
  {% endtabs %}

### `a!embed`

{% tabs %}
{% tab title="Usage" %}

* `a!embed` - Creates a new embed via the embed builder.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2FjwSu7CfqaXYLiEM9GVxR%2Fchrome_yniRc8h1vh.gif?alt=media&#x26;token=0d341fe2-4d60-42cb-a06f-e1f46f18096d" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!rename`

{% tabs %}
{% tab title="Usage" %}

* `a!rename` - Rename a channel's name to something else.
  {% endtab %}
  {% endtabs %}

{% hint style="info" %}
**Syntax usage:**

`<>` = Required argument (mandatory and must be included)

`[]` = Optional argument (not necessary to be included)
{% endhint %}
