Interfacecorev0.14.0
SlashRegistry
Maps each slash route string to its options and its cache state. seedcord codegen populates this. It
reads every command's toJSON() and emits a declare module '@seedcord/gateway' augmentation.
keyof SlashRegistry is then the compile-time union of every registered route. Never augment it by hand.
interface SlashRegistry// seedcord-gen.ts (emitted, committed)
declare module '@seedcord/gateway' {
interface SlashRegistry {
ban: { options: { target: { kind: 'user'; required: true } }; cache: 'cached' };
help: { options: {}; cache: undefined };
}
}