Skip to content
Variablecorev0.14.0

ContextMenus

The bot's deployed context-menu commands. A server bot fills these after each deploy. An edge bot fills them on its first request, from the ids seedcord build wrote into the worker.

Throws:

  • A SeedcordError when you read a command before the bot fills it.

const ContextMenus: InjectedContextMenuMap;
import { ContextMenus } from '@seedcord/gateway';

const id = ContextMenus.user['View Profile'].id;