# /register

You can use this command to link an ally code to a Discord user.

This will allow many of EchoBase's features to work for your user, including assignment DMs, setting of donation preferences, and so much more.

#### /register player <a href="#player" id="player"></a>

To register yourself, simply provide your ally code. The bot will grab your Discord user and register it automatically.

By providing a @mention, you can register an ally code to *someone else.* Please note that this will require the appropriate Echo Role.

| Parameters              | Example                                                             | Help                              |
| ----------------------- | ------------------------------------------------------------------- | --------------------------------- |
| ally-code, discord-user | /register player `ally-code:` 111-222-333 `discord-user:` @Somebody | /help `command:` /register player |

## Global Discord Registry

EchoBase is a participant in the global Discord registry, which is hosted by <https://swgoh.help>. This means that by registering your ally code/Discord user via EchoBase, you are automatically registered for **all** of the other tools that participate in the global registry. Woohoo! Cool stuff rocks!

## Legacy Command

**`eb.{allyCode}.register`**

| **Parameters** | **Options**  | **Example**                                      | Shortcut                                  |
| -------------- | ------------ | ------------------------------------------------ | ----------------------------------------- |
| ally code      | -            | **`eb.123456789.register`**                      | **`eb.123456789.r`**                      |
| ally code      | @mention     | **`eb.123456789.register @mention`**             | **`eb.123456789.r @mention`**             |
| ally code      | <@discordId> | **`eb.123456789.register <@12345678987654321>`** | **`eb.123456789.r <@12345678987654321>`** |
| -              | help         | **`eb.help register`**                           | **`eb.help r`**                           |

{% hint style="warning" %}
Registering someone else via the **@mention** option is restricted to those with an Echo Role only.
{% endhint %}

{% content-ref url="../echo-roles" %}
[echo-roles](https://docs.echobase.app/echostation/echo-roles)
{% endcontent-ref %}
