> ## Documentation Index
> Fetch the complete documentation index at: https://docs.katofficial.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Roblox Integration

> Roblox Open Cloud user lookups and universe ban management

The Roblox cog integrates with the Roblox Open Cloud API for user lookups and universe ban management. It requires `ROBLOX_API_KEY` and `ROBLOX_UNIVERSE_ID` to be configured in the environment.

## Commands

All commands are nested under `/roblox`.

### `/roblox users`

| Command                 | Description                                                                        |
| ----------------------- | ---------------------------------------------------------------------------------- |
| `/roblox users profile` | Retrieves and displays a Roblox user's profile information by username or user ID. |

### `/roblox universes`

| Command                                        | Description                                                              |
| ---------------------------------------------- | ------------------------------------------------------------------------ |
| `/roblox universes user_restrictions`          | Lists all active user restrictions (bans) in the configured universe.    |
| `/roblox universes get_user_restriction`       | Gets the restriction details for a specific Roblox user in the universe. |
| `/roblox universes update_user_restriction`    | Bans or unbans a Roblox user in the universe.                            |
| `/roblox universes list_user_restriction_logs` | Lists the restriction change log history for the universe.               |

## Permission Requirements

All Roblox commands require globally trusted or bot owner permission.
