sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
welcome bot
guildMemberAdd
, the DiscordJS event for when a new member joins the server
3. When that listener pops send a message to the configured channel, or the system channel if none was set.
Also refer to our user guide for getting started: https://sapphirejs.dev...How do you register paths for pieces? Also have an additional question when this one is solved.

Question

frustrating unknown interaction
Distube and sapphire
interaction.options.getMember() not definable?
interaction.options.getMember()
is not valid... While on the Discord.js docs it is.
I already made Member
to be outputted to a message, and it says @Jarvo, so it should be correct...
```js
import { Command } from "@sapphire/framework";...Would there be a way to make a command list?
Commands...
Clear Command Cache?
InteractionHandler Buttons
interaction-handler/Buttons
The error I am getting is:
```
[ERROR] Encountered error while handling an interaction handler run method for interaction-handler "CancelSetup" at path "C:\Users\ItzEx\OneDrive\Desktop\Projects\TicketPulse\src\interaction-handlers\Buttons\Setup\CancelSetup p.ts" Error [InteractionNotReplied]: The reply to this interaction has not been sent or deferred....interaction.update()
https://discord.js.org/#/docs/discord.js/main/class/ButtonInteraction?scrollTo=update...ValidationError: Expected a string primitive
Need help for ContextMenuCommand
- public override async contextMenuRun(interaction: Command.ContextMenuCommandInteraction) {
+ public override async contextMenuRun(interaction: UserContextMenuCommandInteraction) {
- public override async contextMenuRun(interaction: Command.ContextMenuCommandInteraction) {
+ public override async contextMenuRun(interaction: UserContextMenuCommandInteraction) {
How to use sapphire framework decoraters plugin
"@sapphire/ts-config/decorators"
in your tsconfig.json
? Else, please show the aforementioned file. This error comes from using ES decorators rather than the legacy ones.check if message starts with the prefix
Get command used with a message object
Duplicate identifier "Preconditions" when module augmenting "@sapphire/framework"

Object literal may only specify known properties, and 'tasks' does not exist in type 'ClientOptions'
sapphire new
, using the minimal template.
I'm trying to add the @sapphire/plugin-scheduled-tasks
plugin.
Following the doc, I use the npm install command and I added the register in the setup.ts
.....d.ts
for CJS instead of .d.cts
because it works just fine when using ESM
For now if you add a line import '@sapphire/plugin-scheduled-tasks';
then it's fixed @Pandraghon
pinging @vladdy here as well for reference...Subcommands Refusing to work for anyone but me?
lm
and card
which is in a leveling module, and these are the only subcommands in the module and they dont seem to work for anyone else but me. They were working a few days ago, was there a change that checks for bot owner permissions?
Unknown Interaction
Interaction handlers problem
if(condition) return this.some()
so you don't have a negated if condition.