sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
Is there a recommended way to split subcommands across multiple files?
Does sapphire support all the up to date Discord Auto moderation stuff?
How do subcommands work with idHints and guildIds?
Is there a way to prevent fetching information both in the precondition and the command itself?
Listeners with same file name
Any bot examples on Github using sapphire's fetch for 3rd party API endpoints?
Dependency conflict (discord-api-types)
discord-api-types
and now it conflicts with sapphire (or discord.js) version of discord-api-types
, how can I fix this?
```ts
src/commands/moderators/settings.ts:68:40 - error TS2345: Argument of type 'ChannelType.GuildText' is not assignable to parameter of type 'ChannelType.GuildText | ChannelType.GuildVoice | ChannelType.GuildCategory | ChannelType.GuildNews | ChannelType.GuildNewsThread | ChannelType.GuildPublicThread | ChannelType.GuildPrivateThread | ChannelType.GuildStageVoice'.
...sub commands
``js
const { MessageEmbed, MessageActionRow, MessageButton, } = require(
discord.js`);
const { Command } = require("@sapphire/framework");
const { Subcommand } = require('@sapphire/plugin-subcommands');
...How do i delete a slash command?
Error when using plugin-i18next
"i18next": "~22.1.5"
...What’s the difference between a `Piece` and a `AliasPiece`
Global Stores
Map
for reading and writing data related to every guild the bot is in, is there a way to natively achieve this using Sapphire?ApplicationCommandRegistry save new Command registered to DB
send() function plugin-editable-commands
Can a parse be async?
Error when loading listener on v14
TypeError piece.aliases not iterable
Peristing cooldowns across restarts
Conflicting data types with isMessageInstance()
src/commands/ping.ts:18:31 - error TS2345: Argument of type 'APIMessage | Message<boolean>' is not assignable to parameter of type 'Message<boolean> | APIMessage'.