# /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="/pages/-LOzt-QRQDsuBJ3dD36g" %}
[Echo Roles](/echostation/echo-roles.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.echobase.app/echostation/player-commands/register.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
