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
CKPĐá Cục Không Phải Cục Đá11/28/2022

Đá Cục Không Phải Cục Đá - Why my logger have no c...

Why my logger have no color
HHyper11/27/2022

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

I'm having an issue trying to make a custom command structure
LLioness10011/26/2022

Lioness100 - Does `LazyPaginatedMessage` automatic...

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

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
BBluwie :311/24/2022

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? 🤔
FFeralheart11/23/2022

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

Is the command.enabled works together with slashies?
ْكِج11/23/2022

KIJ - does sapphire support v14?

does sapphire support v14?
FFrozn11/22/2022

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?
Jjeelzzz11/21/2022

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
MMcDefault11/21/2022

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";...
Cchmod11/21/2022

chmod - does sapphire support djs 14?

does sapphire support djs 14?
WWhacK11/21/2022

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....
AArarou11/20/2022

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.
白雪はるか11/19/2022

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....
BBen11/19/2022

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.
SStealth11/18/2022

Stealth - Any idea what's going on here?

Any idea what's going on here?
RRVX11/18/2022

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....
BBigBrainAFK11/16/2022

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

So how does one interact with Forum channels in sapphire
SSlinky11/15/2022

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. 🙂
HHyper11/15/2022

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

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