# Role Created

> Triggers when a role is created.

- ID: `role_create`
- Type: Event trigger
- Category: [Roles](https://inventor.bot/docs/reference/triggers/roles.md)

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `role_id` | The ID of the created role | e.g. `"123456789012345678"` |
| `role_name` | The name of the created role | e.g. `"Moderator"` |
| `role_mention` | The mention string for the role | e.g. `"<@&123456789012345678>"` |
| `server_id` | The ID of the server where the role was created | e.g. `"234567890123456789"` |

**Example**

```go
var trigger = role_create()

func main() {
	send_text_message(Args{channel_id: "CHANNEL_ID", message_content: "Role ID: " + trigger.role_id})
}
```