© 2026 Hedgehog Software, LLC
[ERROR] ApplicationCommandRegistries(BulkOverwrite) Failed to overwrite guild application commands for guild 1********* DiscordAPIError[50001]: Missing Access
error
commandApplicationCommandRegistryError
import { ApplyOptions } from '@sapphire/decorators'; import { Listener, Events, Command } from '@sapphire/framework'; @ApplyOptions<Listener.Options>({ event: Events.CommandApplicationCommandRegistryError, }) export class ApplicationRegistryError extends Listener< typeof Events.CommandApplicationCommandRegistryError > { public run(error: unknown, command: Command) { console.error('caught registry error'); console.error(error); } }
import { Events, Listener } from '@sapphire/framework'; import { ApplyOptions } from '@sapphire/decorators'; @ApplyOptions<Listener.Options>({ event: Events.Error, }) export class ErrorListener extends Listener { public run(error: Error) { console.error('captured error'); console.error(error); } }