# /ens

{% hint style="info" %}
/ens will convert a given list of ens names to a list of ens token ids
{% endhint %}

`/ens` can be used in the [Community-Bot](https://discord.com/channels/910479328746287104/947522708546134046) channel:

<figure><img src="https://156458129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUpGMSshbhuSUXHzoKrTn%2Fuploads%2FduE4buUjMebaUPYP9SAg%2Fimage.png?alt=media&#x26;token=af672f37-ca82-429b-b4ca-f20e0eb6f3dc" alt=""><figcaption><p>using /ens to convert caisno.eth, linux.eth, bitcoin.eth and 0001.eth - 0100.eth to token ids</p></figcaption></figure>

<figure><img src="https://156458129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUpGMSshbhuSUXHzoKrTn%2Fuploads%2FwfUPWiNHKVf0H72729Qa%2Fimage.png?alt=media&#x26;token=59d5ccaa-47df-4daa-ace6-5e915d313a2f" alt=""><figcaption><p>using /ens999 to convert 001.eth - 100.eth to token ids</p></figcaption></figure>

### Required Parameters

* `ensname` Specify the ens names you'd like to convert to token ids. It can be a comma seperated list of names but you can also add nummeric ranges to target tokens from **0001.eth - 1000.eth**
* `ens_standard`ENS uses two different contracts and methods to generate token ids.\
  ERC721 contarct: **0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85**\
  ERC1155 contract: **0xd4416b13d2b3a9abae7acd5d6c2bbdbe25686401**

Examples:

* /ens 1-9999
* /ens999 1-100
* /ens 10-20, casino, life, sunny
* /ens 1, 11, 111, 1337, 10000-11000

### Optional Parameters

* None

### Output

{% hint style="info" %}
The bot will send you the converted list of ens names directly as private message in the community-bot channel
{% endhint %}

<figure><img src="https://156458129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUpGMSshbhuSUXHzoKrTn%2Fuploads%2FEs3bZ1CDShAUe8gjwVY2%2Fimage.png?alt=media&#x26;token=98f6a538-9939-45b4-8234-e4788e4638be" alt=""><figcaption><p>Receiving token ids of converted ens names</p></figcaption></figure>

The output data can be used to [create a manual task](https://docs.nftbutler.io/nft-butler/task-types/token-bidding) based on token ids to bid on the specified ens names.
