sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
User counts
client.users.cache.size
(but this does not have all users included and i don't want to client.users.fetch()
a lot)
- Fetching every guild and using guild.approximateMemberCount
while removing duplicates...Having trouble with reporting precondition failure
eval
command but i cant get it to work
I followed the docs and even copied the example bot but nothing seems to make the thing work. I tried to console.log error.message but that doesnt console.log either
Precondition
```ts...Mentioning application subcommands
/a b
you cannot mention using </a:id>
....</[base name] [subcommand name]:[base id]>
Task is set to execute hourly but executes 3 times
messagecommand generated from CLI error
Unable to resolve signature of class decorator when called as an expression.
The runtime will invoke the decorator with 2 arguments, but the decorator expects 1.
Unable to resolve signature of class decorator when called as an expression.
The runtime will invoke the decorator with 2 arguments, but the decorator expects 1.
Unable to resolve signature of class decorator when called as an expression.
The runtime will invoke the decorator with 2 arguments, but the decorator expects 1.
Unable to resolve signature of class decorator when called as an expression.
The runtime will invoke the decorator with 2 arguments, but the decorator expects 1.
@sapphire/type installation script error
pnpm add nodemon
and it magically installed itself without error? I guess the solution is to install another package instead of running pnpm i
unknown interaction error
who to connect html to discord.js?
Messages are not being monitored
loadMessageCommandListeners
in the ClientOptions, as well as added the MESSAGE
partial. The Message Content Intent is also enabled in the Discord apps dashboard, as well as added GUILD_MESSAGES
intent in the ClientOptions. However, the bot only responds to commands prefixed with the mention. I've set the default prefix to !
.MESSAGE_CONTENT
intent in the options Proper pnpm support
The inferred type of 'parse' cannot be named without a reference to '../../node_modules/.pnpm/@[email protected]/node_modules/@sapphire/result/dist/lib/Option/Some.js'. This is likely not portable. A type annotation is necessary.
The inferred type of 'parse' cannot be named without a reference to '../../node_modules/.pnpm/@[email protected]/node_modules/@sapphire/result/dist/lib/Option/Some.js'. This is likely not portable. A type annotation is necessary.
Set the precondition for all commands in a faster way instead of manually set for each command
preconditions
option in every command constructor?position
option to make it global
2. if it's not a custom precondition (i.e. a built in one) then extend the Command
class and use object merging to set it on the custom base class to extend...Sapphire not getting my commands
tsx
for my runner (tsx uses esbuild)tsx
for my runner (tsx uses esbuild)How to get infos about the current task?
How can i start using bulkOverwrite
Adding preconditions to a slash command?
mongoose listener not working
TypeError: channel.isTextBased is not a function
Can not resolve dependency sapphire
UserError listener not catching all errors