BaseContext
Signature
export declare class BaseContextProperties
2Methods
14Properties
readonly client: UsingClient;proxyGetterget proxy(): APIRoutes;Gets the proxy object.
Methods
constructorConstructorconstructor(client: UsingClient);isChat(): this is CommandContext;isMenu(): this is MenuCommandContext<UserCommandInteraction | MessageCommandInteraction>;isMenuUser(): this is MenuCommandContext<UserCommandInteraction>;isMenuMessage(): this is MenuCommandContext<MessageCommandInteraction>;isComponent(): this is ComponentContext<keyof ContextComponentCommandInteractionMap>;isModal(): this is ModalContext;isButton(): this is ComponentContext<'Button'>;isChannelSelectMenu(): this is ComponentContext<'ChannelSelect'>;isRoleSelectMenu(): this is ComponentContext<'RoleSelect'>;isMentionableSelectMenu(): this is ComponentContext<'MentionableSelect'>;isUserSelectMenu(): this is ComponentContext<'UserSelect'>;isStringSelectMenu(): this is ComponentContext<'StringSelect'>;isEntryPoint(): this is EntryPointContext;