SIA
Sapphire - Imagine a frameworkĐá Cục Không Phải Cục Đá
Đá Cục Không Phải Cục Đá - Why my logger have no c...
Why my logger have no color
CKP
Đá Cục Không Phải Cục Đá•524d ago
I have installed colorette
24•524d ago
you don't have colors enabled via the environment variable or teh terminal doesn't support colors
CKP
Đá Cục Không Phải Cục Đá•524d ago
Can I have some relate docs about enable
since nodemon have color so I think it not about terminal problem
CKP
Đá Cục Không Phải Cục Đá•523d ago
CKP
Đá Cục Không Phải Cục Đá•523d ago
I also see other repo having this kind of debug
But for me it not.
import '@sapphire/plugin-logger/register';
solve color problem
@24 I think it not loading any of my commands or listeners do you have any ideaCKP
Đá Cục Không Phải Cục Đá•523d ago
CKP
Đá Cục Không Phải Cục Đá•523d ago
I have turn loadMessageCommandListeners on
F
Favna•523d ago
Have you checked the big red block at the top of https://www.sapphirejs.dev/docs/Guide/getting-started/getting-started-with-sapphire
Sapphire Framework
Getting started with Sapphire | Sapphire
To install Sapphire, you need to install both discord.js and @sapphire/framework. You can do this by running the
CKP
Đá Cục Không Phải Cục Đá•523d ago
Yes I tried
CKP
Đá Cục Không Phải Cục Đá•523d ago
F
Favna•523d ago
You didnt read it correctly
CKP
Đá Cục Không Phải Cục Đá•523d ago
Hmm so we not run it with compile js ?
F
Favna•523d ago
You do
You have to change the main property...
CKP
Đá Cục Không Phải Cục Đá•523d ago
Oh so I should change my main to js instead
CKP
Đá Cục Không Phải Cục Đá•523d ago
CKP
Đá Cục Không Phải Cục Đá•523d ago
Still nothing happen
working since i change it into dist/index.js
thanks for help me.
CKP
Đá Cục Không Phải Cục Đá•523d ago
@Favna https://github.com/sapphiredev/examples/blob/main/examples/with-swc/package.json I just found this example maybe too late 😦
GitHub
examples/package.json at main · sapphiredev/examples
Various examples of setting up your bot with the Sapphire Framework - examples/package.json at main · sapphiredev/examples
CKP
Đá Cục Không Phải Cục Đá•523d ago
but can I ask why we use dotenv-cra with backend thing why not dotenv
F
Favna•523d ago
Read the readme of dotenv-cra, that's why.
Welcome to the Sapphire Discord server! The next-gen object-oriented Discord.js bot framework can be found here.
2.2KMembers
View on DiscordWant results from more Discord servers?
More PostsHyperfire - I'm having an issue trying to make a c...I'm having an issue trying to make a custom command structureCEO | RJP Development - how do u make a programmig...how do u make a programmig language like saphire?Lioness100 - Does `LazyPaginatedMessage` automatic...Does `LazyPaginatedMessage` automatically cache embed pages or is that something the user has to do 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. BlueSky - Just for verification, we are allowed to...Just for verification, we are allowed to host sapphire ourselves, right? and is the dashboard includFeralheart - Is the `command.enabled` works togeth...Is the `command.enabled` works together with slashies?KIJ - does sapphire support v14?does sapphire support v14?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 tjeelzzz - 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 exMcDefault - 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 anchmod - does sapphire support djs 14?does sapphire support djs 14?RuiNtD - How to ensure removed application command...How to ensure removed commands are unregistered?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 beingArarou - 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.Fractune - Hello, I'd like to know why my `if` jum...Hello, I'd like to know why my `if` jumps straight to `else` while `!isNaN(parseInt(tags.slice(-1)[0Abdo Hosnie - it doesn't play anything (it doesn't play anything : (DelxHQ - Is there anyway I can defer all of my com...Is there anyway I can defer all of my commands?ShirayukiHaruka - **[Sapphire Logging]**Hello! I'...**[Sapphire Logging]**
Hello! I've been using Sapphire for a while now, and wondering if there is a 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 chatInputRStealth - Any idea what's going on here?Any idea what's going on here?