# UserContextMenuRegistry

`interface` in `types` · v0.6.0

<https://docs.seedcord.org/packages/types/0.6.0/interfaces/user-context-menu-registry>

Maps each user context-menu command name to a presence marker. Populated by `seedcord codegen`, which reads every command's `toJSON()` and emits a `declare module 'seedcord'` augmentation, so `keyof UserContextMenuRegistry` is the compile-time union of every registered user context-menu name. Do not augment it by hand, run `seedcord codegen`.

Kept separate from [`MessageContextMenuRegistry`](/packages/types/0.6.0/interfaces/message-context-menu-registry) because Discord allows a user command and a message command to share a name, so a single name-keyed registry would collapse a legal pair.

```ts
interface UserContextMenuRegistry
```

## Examples

```ts
// command-registry.gen.ts (emitted, committed)
declare module 'seedcord' {
  interface UserContextMenuRegistry {
    'View Profile': true;
  }
}
```
