sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
Seemingly Random Command Registration Failures
Is that possible to have multiple routes in the same route class?
Command not being registered
Property does not exist on type 'Container'
Sapphire eslint-config
Translate runIn error message
runIn
pre condition do not return the identifier of precondition that failed, is there a way to translate the message of the error or should I just don't use the runIn: CommandOptionsRunTypeEnum.GuildAny
and only use preconditions: ['GuildOnly']
?Type issues with .addChoices()
addChoices
has a spread syntax for the array type, so remove the square brackets and it will work.Sapphire registering applications bug
@sapphire/framework@pr-701
Error when creating a modal
createMessageComponentCollector()
instead of doing it all in the button interaction handlerLinter errors in command options after upgrade
augments
Tooling question
[ERROR] Encountered error on event listener "moderationLog"
Fetch reply from a command to button interaction
x
command so i can edit the reply in y
button interactionIs there a way to use Sapphire to reset previously registered slash commands?
Arguments
channel
built-in argument will detect any channel? (Including Text Channels, Voice Channels, Threads, etc)?Decorators issue
"target": "ES2016"
in tsconfig.json
Paginination limitation when not using select menus
(node:1484241) [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.and this is my current code giving the error: ```ts...
Run bot without building to js and use ts-node or other alternatives instead.
npm run build && npm run start
npm run build && npm run start
tsc-watch
is good.
Or you can remove typescript & code directly in js
Or you can use bun runtime to start your typescript based bot directly (you will need to refactor your code so that it runs on bun)...Unregister Old Application Sub Commands from the subcommands plugin