Store a data in Client context Shappire

How can i store a object value in client context shappire Im trying to create a music queue cached for my bot
Solution:
extend the client to store it
Jump to solution
4 Replies
Solution
Photon
Photon•2y ago
extend the client to store it
Photon
Photon•2y ago
or save it in the container
Photon
Photon•2y ago
Sapphire Framework
Using and extending container | Sapphire
The container is a way in which Sapphire achieves Dependency Injection. This is a very useful feature, since it
ken
ken•2y ago
thanks for ur solution , i did it 🥰
Want results from more Discord servers?
Add your server
More Posts
Type 'ServerResponse' is not genericHello guys, I just updated the sapphire packages and I am encountering an error with the plugin-apiIs there a Example on how to work with the API Plugin directly in the bot?I want to try out how that is working, is there an example Repository somewhere? Because the Docs arCreating slash command with options and sapphire cli templateHey there. I'm using the bot template from the sapphire cli and now wanted to try and create a slashIs there any utility to check if a member has permission to run a command?Hi! I have a bot that needs to check if a member has permission to run a command and then do somethiSend and Reply from the editable-commands plugin do the same wrong thing.So I tried out both of them and none seems to respond on the interaction. what I want: image 1 whatwhat is this regex supposed to mean?What is the Best approach to developing a bot and reloading the new changes into it?I heard that logging in too many times can lead to rate limits. is there a good solution for this isHow do I create subcommands with different text input fields?Something like the image. The Docs only show how to create basic subcommands. Also in the Readme of Best Approach on separating Commands from their "run" file to a separate FolderFor context, I am super new to discordjs and this framework so apologizes if this question sounds odmessage commands are not workingtrying to update to v4 and the bot is not recognizing commands. i have enabled `loadMessageCommandLi