> For the complete documentation index, see [llms.txt](https://xnickydev.gitbook.io/ocavy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xnickydev.gitbook.io/ocavy/commands/utility/+get-id.md).

# +get-id

Gets ID of provided element

## Usage

```
+get-id <user/channel/role/emoji/server>
```

## Arguments

| Name                                              | Description                             | Type                                              | Required |
| ------------------------------------------------- | --------------------------------------- | ------------------------------------------------- | -------- |
| <p>user<br>channel<br>role<br>emoji<br>server</p> | The element which ID is to be returned. | <p>User<br>Channel<br>Role<br>Emoji<br>Server</p> | Yes      |

{% hint style="info" %}
You can specify `server` as element to get the ID of the current server.
{% endhint %}

## Examples

![](https://user-images.githubusercontent.com/111157596/207626120-ada50380-9ebe-42fc-906c-2e0ddb1868c3.png) ![](https://user-images.githubusercontent.com/111157596/207626133-08a128b1-2c27-4d5f-8f93-4fd5766bb380.png) ![](https://user-images.githubusercontent.com/111157596/207626144-4e6af636-01f5-4e82-97ca-a1a4f3132980.png) ![](https://user-images.githubusercontent.com/111157596/207626222-37bccd67-0904-492c-b9b2-dfb7b26908a1.png) ![](https://user-images.githubusercontent.com/111157596/207626248-eca1dc99-b820-4360-a639-4840b00f7ac2.png) ![](https://user-images.githubusercontent.com/111157596/207626272-5d480c7c-bd77-42be-9523-56304f9e29e3.png)
