import { Collection } from '@discordjs/collection'; import type { Command } from '../../structures/Command'; export const restrictedGuildIdRegistry = new Collection(); export function RestrictGuildIds(guildIds: readonly string[]) { return function decorate(target: typeof Command) { restrictedGuildIdRegistry.set(target, guildIds); }; }