Functioncorev0.7.0Decorator
ChannelMenuRoute
Routes channel select menu interactions to a ChannelMenuHandler.
Pass the CustomId definition(s) this handler decodes and list the same ones in the handler's generic. Beside this.values the handler declares this.channels.
ChannelMenuRoute<Defs>(
defs: Defs
): <TCtor extends AnyHandlerCtor>(
constructor: AssertComponentRoute<InteractionKind.ChannelMenu, Defs, TCtor>
) => voidDefs
Defsdefs
defs: DefsThe customId definition(s) this handler decodes, one per route.