> For the complete documentation index, see [llms.txt](https://tp.tutoclub.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tp.tutoclub.xyz/configuration/modules/on-join-roles.md).

# On Join Roles

You can assign roles to new members that join your server. Follow this example to do so:

```yaml
on_join_roles: ['630576778271784964', 'Other Role ID']
```

Another way of doing this is like this:

```yaml
on_join_roles:
  - '630576778271784964'
  - 'Other Role ID'
```

You can add as many as you want.

{% hint style="info" %}
As you have seen, there are two ways of setting up those lists. I personally prefer the seconds one, as it is much more clear, so it is the one that I will be using through all this guide.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://tp.tutoclub.xyz/configuration/modules/on-join-roles.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.
