Favna
Favna
SIASapphire - Imagine a Framework
Created by Tejas on 4/21/2025 in #sapphire-support
Error using User Apps in my bot
did you check out this guide page? https://www.sapphirejs.dev/docs/Guide/plugins/API/authenticating-routes Other than that you can get the discordjs User object through this.container.client.users.fetch(request.auth!.id) and then do with it as you please
27 replies
SIASapphire - Imagine a Framework
Created by Tejas on 4/21/2025 in #sapphire-support
Error using User Apps in my bot
27 replies
SIASapphire - Imagine a Framework
Created by Tejas on 4/21/2025 in #sapphire-support
Error using User Apps in my bot
it is not, nor should you. That's not how cookie authentication works. As shown right there, we dont use JWT tokens in the traditional sense. The backend sets the cookie and on the frontend you include credentials: true in your request options and the authentication is automagically shared
27 replies
SIASapphire - Imagine a Framework
Created by Tejas on 4/21/2025 in #sapphire-support
Error using User Apps in my bot
no but why would you want to? the route ultimately really doesn't matter because you call it from your frontend and what route you call is arbitrary
27 replies
SIASapphire - Imagine a Framework
Created by Tejas on 4/21/2025 in #sapphire-support
Error using User Apps in my bot
Truth be told not a lot of development for sapphire has happened over the past many months. I can say the reason for that is lack of time and yeah sure it plays a part, but it's also lack of motivation from Vladdy, Kyra and myself. We all have full time software engineering jobs and maintaining an open source project next to that in our free time that pays nothing back isn't really motivation boosting.
27 replies
SIASapphire - Imagine a Framework
Created by Tejas on 4/21/2025 in #sapphire-support
Error using User Apps in my bot
ehm... why.. because the code is from before user apps were a thing and it wasn't implemented. Should they be running at all.. idk, that's a design choice we havent made yet.
27 replies
SIASapphire - Imagine a Framework
Created by Tejas on 4/21/2025 in #sapphire-support
Error using User Apps in my bot
user apps are completely separate
27 replies
SIASapphire - Imagine a Framework
Created by Tejas on 4/21/2025 in #sapphire-support
Error using User Apps in my bot
nah DM channel is when you DM the bot
27 replies
SIASapphire - Imagine a Framework
Created by Tejas on 4/21/2025 in #sapphire-support
Error using User Apps in my bot
that covers everything
27 replies
SIASapphire - Imagine a Framework
Created by Tejas on 4/21/2025 in #sapphire-support
Error using User Apps in my bot
I mean at that point you can just remove it ...
27 replies
SIASapphire - Imagine a Framework
Created by Tejas on 4/21/2025 in #sapphire-support
Error using User Apps in my bot
I mean you must have added it to the options. It's not automatic.
27 replies
SIASapphire - Imagine a Framework
Created by Tejas on 4/21/2025 in #sapphire-support
Error using User Apps in my bot
what is the RunIn you provided on the command
27 replies
SIASapphire - Imagine a Framework
Created by alqm on 4/20/2025 in #sapphire-support
returning different things to a run method
Not possible and won't be implemented. For 2 lines of code of laziness by users like yourself it introduced a dozen difficulties for the library by the mere existence of assumptions.
9 replies
SIASapphire - Imagine a Framework
Created by Tejas on 4/21/2025 in #sapphire-support
Error using User Apps in my bot
RunIn precondition is failing because of missing permissions. Your bot probably doesn't have the correct intents or the VIEW_CHANNEL permission
27 replies
SIASapphire - Imagine a Framework
Created by Deadlystrike on 4/20/2025 in #sapphire-support
client permissions failing to resolve in channel
linting is failing @Deadlystrike
12 replies
SIASapphire - Imagine a Framework
Created by Deadlystrike on 4/20/2025 in #sapphire-support
client permissions failing to resolve in channel
that said, that PR was already in 4.2.1
12 replies
SIASapphire - Imagine a Framework
Created by Deadlystrike on 4/20/2025 in #sapphire-support
client permissions failing to resolve in channel
hm well if you can form it into a pr then submit it I'd say
12 replies
SIASapphire - Imagine a Framework
Created by Deadlystrike on 4/20/2025 in #sapphire-support
client permissions failing to resolve in channel
Have you also checked all your other dependencies? In particular other sapphire dependencies and discord-api-types? I can guarantee you that EmbedLinks through requiredClientPermissions is not bugged because @Dragonite uses that as well
12 replies
SIASapphire - Imagine a Framework
Created by Azrael⛧⸸ on 4/17/2025 in #sapphire-support
Some Listeners/All Interaction Handlers not working
You could set the name property in the options if you really want identical file names but ultimately it's going to make navigating to files harder anyway so I wouldn't recommend it (command pallets -> type file name -> now you have 2+ matches instead of 1)
25 replies