f1fty
Explore posts from serversSIASapphire - Imagine a framework
•Created by f1fty on 4/30/2024 in #sapphire-support
Question to Plugin i18next
I would like to start using @sapphire/plugin-i18next.
Can i fetch language files from a another repository (or from my own npm module)?
5 replies
SIASapphire - Imagine a framework
•Created by f1fty on 4/28/2024 in #sapphire-support
eslint autofix problems
6 replies
SIASapphire - Imagine a framework
•Created by f1fty on 4/20/2024 in #sapphire-support
Caching Problems
Hey, i have some problems with caching, on discord.js they sad
All Guilds are cached if you have the intent, and the client is ready
.
While using intents like GuildMembers
& Guilds
.
i dont know if it fits into this forum, i tough because sapphire initates the listeners....
sometimes when i do this here it doesnt show up some guild...
and when i restart the application it doesnt show up.
with this one i have no problems
12 replies
SIASapphire - Imagine a framework
•Created by f1fty on 4/12/2024 in #sapphire-support
multiplie registered handlers
Hi, is it better to split for example the button interactions for different buttons to different files?
Or does it have any complications with the general performance?
e.g. if i put everything in one file and fire functions to other files
is that better? or does that make no difference
5 replies
SIASapphire - Imagine a framework
•Created by f1fty on 4/6/2024 in #sapphire-support
Working with Emoji's on SelectMenu Options
12 replies
SIASapphire - Imagine a framework
•Created by f1fty on 4/5/2024 in #sapphire-support
Cant get bot to work when put bot related files to another folder in src
28 replies
SIASapphire - Imagine a framework
•Created by f1fty on 4/5/2024 in #sapphire-support
Nested Router with @sapphire/plugin-api
Hello guys, iam really new to this framework. i would like to integrate my express to my sapphire project.
In my old project i was using nested routers.
Here are some references from my old project:
This was registering all my controllers like /servers or /users, i know the plugin-api does this automatically.
Then i used a paramRouter to pass other routes after :param(like serverId) for example (/api/servers/99999/config
so my question is can i do this with the plugin-api?
5 replies