sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
Problem since upgrading to latest sapphirejs and TS 5.0

What does sapphire's logger use on the backend?
Remove old commands

Errors when extending @sapphire/ts-config

my sapphire bot not picking up any commands, i use message commands
@sapphire/shapeshift ExpectedConstraintError
...choices
to #addChoices
```ts
interface ShopItem {...Command registering although it does not exist
dist
or whatever folder you have set for compiled output codeCustom Command Cooldown Message
There is a cooldown in effect for this chat input command. It'll be available at 2023-04-19T04:26:08.886Z.
Is there any good way to turn this message into something more readable and convenient, such as: This command cannot be used for *X* hours / *Y* minutes.
Is there a way to extract the cooldown for the command itself? So I can get a date or time object out of it?...typescript aka tsc not working solved
How to register commands without loadMessageCommandListeners=true?
More information for CombinedPropertyErrors on shapeshift
Using plugin-api to link accounts
plugin-subcommands "No subcommand was matched"
Multiple context commands in a single file
Type-safety for guild-only slash commands
ChatInputCommandInteraction#guildId
is nullable, but is there some sort of way to assert it's going to be run in a guild? I'm setting .setDMPermission(false)
on the builder, do I need to .guildId!
everywhere or is there a better method?if (interaction.inGuild()) {
// now it's in guild and you dont need !
}
if (interaction.inGuild()) {
// now it's in guild and you dont need !
}
Passing data from one handler to the other