sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
Type Error: "Property "sentryError" does not exist on type 'ILogger'
@sapphire/plugin-logger
to add sentry logging, however it is still throwing type errors when I try to use said functions.
SentinelLogger.ts
```ts
import { container } from '@sapphire/framework';...Issue with application commands after logging in after client#destroy()
Interaction handler parse never being called
logger
container.stores.get('commands')
to access to all the loaded commands, it’s a Collection, so you can do .size
to get the amount.Application command registries
TS App does not attach event listeners once complied, works in dev
ApplicationCommandRegistries
INFO logs are fired. I also can't amend the LogLevel
option on Sapphire instantiation.
Any advice or insight greatly welcome! This has been driving me mad...package.json
's main
parameter to an appropriate value against the compiled JS entrypoint - in my case dist/index.js
.declaration for DetailedDescriptionCommand not working
index.d.ts
to type-augments.ts
Cooldowns during command execution
Is there a way to hide command if the user doesn't have the precondition ?
Multiple guilds handling
Statefulness and data sharing for Pieces
Missing Session ID
declarations
Prefix
Sentry with Sapphire?
Packages problem
shamefully-hoist
and public-hoist-pattern
are set correctly in your .npmrc
file.
This is because pnpm will not hoist any dependencies by default and that poses a problem with how Sapphire works with module augmentation and loading files from the filesystem.
Add this to your .npmrc
file:...Piece not loading when stores.register() is called
container.stores.registerPath()
to set up the path, followed by await container.stores.load();
to load the pieces.what are these