Command `admin.ts` not being registered in the command registry

This is the error message I am receiving when I run the bot: Encountered error while handling the command application command registry for command "admin" at path "~/dist/commands/admin.js" ExpectedConstraintError > s.string.lengthGreaterThanOrEqual

this is what the admin.ts looks like:
ApplyOptions<Command.Options>({
    name: 'admin',
    description: 'Admin-only commands.'
})
export class AdminCommand extends Command { /* ... */ };
Was this page helpful?