# UserContextMenuRegistry

`interface` in `types` · v0.7.1

<https://docs.seedcord.org/packages/types/0.7.1/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.7.1/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
// seedcord-gen.d.ts (emitted, committed)
declare module 'seedcord' {
  interface UserContextMenuRegistry {
    'View Profile': true;
  }
}
```
