sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
Bot wont respond to any command + wont register slashes though it says they are registered
.
instead, I think 🤔how to change the client on the container's type to my custom client
ApplyOptions
ApplyOptions
from @sapphire/decorators
work with JavaScript, if yes, how would that workEnable slash command for bot owners only
Global precondition
chatInputCommandDenied
and contextMenuCommandDenied
not commandDenied
since v3 of the framework: https://www.sapphirejs.dev/docs/Guide/getting-started/updating-from-v2-to-v3#sapphire-events-addedThe inferred type of 'parse' cannot be named without a reference to...
The inferred type of 'parse' cannot be named without a reference to '.pnpm/@[email protected]/node_modules/@sapphire/result'. This is likely not portable. A type annotation is necessary.
This is my code:...@sapphire/framework
has a transitive dependency on @sapphire/pieces
and also module augments @sapphire/pieces
, and discord.js
for that matter....Bot hosting Service
Compiling with SWC
src/commands/General/Ping.ts
and src/listeners/ready.ts
These are the errors that are presented:
```
rimraf dist && swc ./src -d dist...
fetchPrefix not functioning as it should
Does plugin-api support parameters? If so, how can I get tem?
Bot does not update commands
Upgrading from djs v12 (commando) to djs v14 (and sapphire framework) - Unsure on how to Parse Types
customJobOptions or bullJobsOptions
removeOnComplete
in the job options:
https://docs.bullmq.io/guide/queues/auto-removal-of-jobs
...plugin-subcommands: subcommands with preconditions
Subcommand
but that'd be a breaking change so it's pending whenever there is more Using multiple types in args.repeat()
args.repeat()
?
For example like this:
const membersAndRoles = args.repeat('member | role'); // parsing members and roles
And then it would parse !command @member1 @member2 @role1
and put all three into membersAndRoles
.
What would be the best way?...args.finished
to check if there are args left to parse and then pick them.plugin-api: How to access Cookies on incoming requests?
How to use `container.logger` ?
this.container.logger
2. import {container} from '@sapphire/framework'; container.logger
3. import {container} from '@sapphire/pieces'; container.logger
4. import {Logger} from '@sapphire/framework'; const logger = new Logger();
...cli change cli dir