sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
Custom Events not Creating Listeners
Ignoring Precondition Failures
ChatInputCommandDenied
listener. The documentation suggests to a add information on the context
in the Precondition
```ts
export class MyDummyPreconditions extends Precondition {...Select menu interaction handler not working
Dms not being read by Event.messageCreate in listener.
Paginated message exceeding 25 pages
(node:1) [PAGINATED_MESSAGE_EXCEEDED_MAXIMUM_AMOUNT_OF_PAGES] PaginatedMessageExceededMessagePageAmount: Maximum amount of pages exceeded for PaginatedMessage. Please check your instance of PaginatedMessage and ensure that you do not exceed 25 pages total.
If you do need more than 25 pages you can extend the class and overwrite the actions in the constructor.
(node:1) [PAGINATED_MESSAGE_EXCEEDED_MAXIMUM_AMOUNT_OF_PAGES] PaginatedMessageExceededMessagePageAmount: Maximum amount of pages exceeded for PaginatedMessage. Please check your instance of PaginatedMessage and ensure that you do not exceed 25 pages total.
If you do need more than 25 pages you can extend the class and overwrite the actions in the constructor.
Is it possible to run the same bot multiple times and have them each independently handle commands?
Can't find the template. for buttoninteractionhandler
StringSelect shows error in PaginatedMessage
ComponentType.StringSelect
here's the code for reference
https://srcb.in/HpWMA3PaUq...Augmenting detailed description
Set global commands guildIds
Snowflake support
@sapphire/snowflake
) because it looks the best one (found it from djs).
While researching the snowflake id's, as far as I understand, the worker id is included in the snowflake so there wont be any dublicates.
And while I was browsing your code, I saw the options workerId
and processId
, how to use them? I mean, the backend is just expressjs, without workers or anything, i am planning to run a single instance on vps using pm2, or maybe use pm2 to create workers? so, i know that these options are optional, but still, how to use them? when should i use them?...TypeError: isJSONEncodable is not a function
Cannot access MimeTypes & HttpCodes when verbatimModuleSyntax is enabled in TypeScript 5
Issues importing from shapeshift
s.string.url(...)
, importing s
from the package.Accessing container inside of a decorator
container
inside of a decorator. I'm trying to use it in a createFunctionPrecondition
but I'm getting:
TypeError: Cannot read properties of undefined (reading 'container')
...Sapphire Paginated Embed
Bot does not respond
Dynamic disable Slash Command based on role
How to get the resolve a key without a target?
fetchLanguage
?
I'd love to have the nameLocalizations
and descriptionLocalizations
on my slash commands coming from the i18n json files. That will make it easy to collaborative translation.
Something like:...