Sapphire - Imagine a framework

SIA

Sapphire - Imagine a framework

Welcome to the Sapphire Discord server! The next-gen object-oriented Discord.js bot framework can be found here.

Join

sapphire-support

discordjs-support

old-sapphire-support

old-discordjs-support

old-application-commands-and-interactions

Hyperfire - I'm having an issue trying to make a c...

I'm having an issue trying to make a custom command structure

Lioness100 - Does `LazyPaginatedMessage` automatic...

Does LazyPaginatedMessage automatically cache embed pages or is that something the user has to do themself

BigBrainAFK - So i need to use the V4 PR builds of...

So i need to use the V4 PR builds of sapphire as I sadly require threads to be supported by my bot. Everything works fine using the PR builds locally on my macbook and my local debian test server but somehow on my remote server I get this error

BlueSky - Just for verification, we are allowed to...

Just for verification, we are allowed to host sapphire ourselves, right? and is the dashboard included in the selfhosted version? 🤔

Feralheart - Is the `command.enabled` works togeth...

Is the command.enabled works together with slashies?

Frozn - whenever i try to run my bot i keep gettin...

whenever i try to run my bot i keep getting a ton of errors like this, does anyone know how to fix this?

jeelzzz - is there any way to export multiple thi...

is there any way to export multiple things from a command / listener's file? like can i name the export something like command and it'll let me export other stuff without breaking

McDefault - Hello y'all Im trying to follow the c...

Hello y'all> Im trying to follow the create basic slash cmd guide, but the example code is giving an error on isMessageInstance(msg) Type not assignable https://www.sapphirejs.dev/docs/Guide/getting-started/creating-a-basic-app-command ```js import { isMessageInstance } from '@sapphire/discord.js-utilities'; import { ChatInputCommand, Command } from "@sapphire/framework";...

chmod - does sapphire support djs 14?

does sapphire support djs 14?

WhacK - I upgraded my existing sapphire bot to typ...

I upgraded my existing sapphire bot to typescript and altered some things. My commands are not being responded to anymore. I used the cli to make this new version. Log ``` 8:10:50 PM - Found 0 errors. Watching for file changes....

Ararou - Is this smth fixable? It's never done thi...

Is this smth fixable? It's never done this before and I don't know whats causing it.

ShirayukiHaruka - **[Sapphire Logging]**Hello! I'...

[Sapphire Logging] Hello! I've been using Sapphire for a while now, and wondering if there is a way to use custom logger instead sapphire's default one. Context: I've configured winston as my logger and to make my log consistent, I'd like to use my logger instance to log sapphire's one. I've read the source code and kinda have some speculation. - SapphireClient uses ClientLoggerOptions to define the logger field when constructing the client....

Ben855 - I can't seem to get slash subcommands wor...

I can't seem to get slash subcommands working. I'm able to register them just fine but my chatInputRun methods are not running. Heres my code https://hastebin.com/enakigunaq.typescript. No errors are printed and the only relevant logs are when the command is registered I get the standard registry logs shown below.

RVX - new to coding here. (very new) how do i un...

new to coding here. (very new) how do i unregister a command? looks like registering a command and then changing the .setName make it reregister and them creates a whole other command....

BigBrainAFK - So how does one interact with Forum ...

So how does one interact with Forum channels in sapphire

Slinky - Hello, I just started using the framework...

Hello, I just started using the framework yesterday and currently having a issue trying to reset the cooldown for a user if their command errored. I saw a previous message about using this.container.stores.get('preconditions').get('Cooldown').buckets.get('command').set(userId, 0); but buckets no longer seems accessible, if someone could point me in the right direction, that'd be fantastic. Thanks. 🙂

Hyperfire - How would i ago about adding custom fi...

How would i ago about adding custom fields to commands? Like for example aliases
Next