11 Replies
1. Which version of
@sapphire/framework
are you using?
2. What's your file/folder structure?
3. Did you use the CLI to generate your bot?
4. What's your main
(CJS) or module
(ESM) property in package.json
5. Are you using TypeScript? And if so, how are you compiling and running your code? That is to say, what are your build and startup scripts?
- Did you remove your output folder and rebuild then try again?
6. Is your problem related to message commands? Did you add loadMessageCommandListeners
to your SapphireClient
options
Remember that if you are new to @sapphire/framework
it is important that you read the user guide.1. 5.2.1
2.
3. no
4. es2022
5 yes and im using tsup
6. yes
7. no
pic of error
Unrelated to sapphire or any programming error. This is your own network, or the target network having network issues.
it did connect when I used normal discord client
what do you mean with "normal discord client"
instead of new SapphireClient I did new Client
and that worked
SapphireClient extends discordjs' Client. They are identical for everything related to connections.
but I need sapphire features
oh
but my internet is fast
idk mate but I insist this is not Sapphire related
this is a network issue of some kind