Lioness100
Explore posts from serversSIASapphire - Imagine a Framework
•Created by Lioness100 on 1/19/2025 in #sapphire-support
string-store & strings
Yay! Thank you!
14 replies
SIASapphire - Imagine a Framework
•Created by Lioness100 on 1/19/2025 in #sapphire-support
string-store & strings
Up to you of course, but I think it would be a nice change
14 replies
SIASapphire - Imagine a Framework
•Created by Lioness100 on 1/19/2025 in #sapphire-support
string-store & strings
:pepeBritish:
14 replies
SIASapphire - Imagine a Framework
•Created by Lioness100 on 1/19/2025 in #sapphire-support
string-store & strings
And thank you for your quick response
14 replies
SIASapphire - Imagine a Framework
•Created by Lioness100 on 1/19/2025 in #sapphire-support
string-store & strings
Regarding the former, yes, I can make an alias serializeToString
.
I'm wondering why serialize
would return a buffer and serializeToString
would be the variation when, to my expectations, the overwhelming overwhelming majority of use cases of serialize
would be to get a string. Wouldn't it be more beneficial for serialize
to return the string and serializeToBuffer
to be the variation?14 replies
SIASapphire - Imagine a Framework
•Created by Lioness100 on 1/19/2025 in #sapphire-support
string-store & strings
In the meantime I'll think I'll create a for non-store use
14 replies
SIASapphire - Imagine a Framework
•Created by delios on 11/14/2024 in #sapphire-support
"The application did not respond" on bulkDelete message use
That's good
37 replies
SIASapphire - Imagine a Framework
•Created by delios on 11/14/2024 in #sapphire-support
"The application did not respond" on bulkDelete message use
Oh oops
37 replies
SIASapphire - Imagine a Framework
•Created by delios on 11/14/2024 in #sapphire-support
"The application did not respond" on bulkDelete message use
Global commands usually take a bit to update (up to an hour, usually under 10 minutes in my experience, and quicker if you restart your Discord client often). When you kicked and re-invited it, it probably refreshed its commands for your Discord client. But at that point the bot might've been offline or you had a different error in your code so it wasn't responsive
37 replies
SIASapphire - Imagine a Framework
•Created by čamdžić on 8/10/2024 in #sapphire-support
env/join not working properly
In the future, please don't tag anyone immediately
13 replies
SIASapphire - Imagine a Framework
•Created by čamdžić on 8/10/2024 in #sapphire-support
env/join not working properly
Please send your code
13 replies
SIASapphire - Imagine a Framework
•Created by ./Ticker on 5/6/2024 in #discordjs-support
Question about developing in TypeScript
Not sure what you mean about performance. Obviously it adds a build step, but it's just a few seconds
8 replies
SIASapphire - Imagine a Framework
•Created by ./Ticker on 5/6/2024 in #discordjs-support
Question about developing in TypeScript
By structure I mean what x function expects and returns, what properties are on y, what parameters are in z callback, etc
8 replies
SIASapphire - Imagine a Framework
•Created by ./Ticker on 5/6/2024 in #discordjs-support
Question about developing in TypeScript
Yes, Typescript for me is a life saver! I no longer have to keep the structure of my entire application in my head and at the whims of my memory, + it makes me think harder about how i design things which makes them more scalable in the long term
8 replies
SIASapphire - Imagine a Framework
•Created by Indium on 4/23/2024 in #sapphire-support
Error please help
I'm not sure if this is your error, but you need to add subcommands to the builder. Ex:
29 replies
SIASapphire - Imagine a Framework
•Created by willow 🌷 on 2/22/2024 in #sapphire-support
How to reference client in main file?
Make sure the client has logged in first, or you won't be able to access any users. Consider doing whatever you're doing in the ready event?
8 replies
SIASapphire - Imagine a Framework
•Created by FrozenHyper on 2/7/2024 in #sapphire-support
Precondition Command
The command is the second parameter of the run function. Example: https://github.com/sapphiredev/framework/blob/main/src/preconditions/Enabled.ts
7 replies
SIASapphire - Imagine a Framework
•Created by doqe on 1/20/2024 in #sapphire-support
Would there be a way to make a command list?
Adding to what Favvy said, to display all commands, you can use
this.store
to get a collection of the commands. You can then map them and utilize their name
and description
properties. Ex:
7 replies
SIASapphire - Imagine a Framework
•Created by Jarvo on 1/20/2024 in #sapphire-support
Clear Command Cache?
It overwrites all of your commands with the latest data
11 replies
SIASapphire - Imagine a Framework
•Created by Jarvo on 1/20/2024 in #sapphire-support
Clear Command Cache?
You should set add this line to your index file before you log in, which will overwrite all commands each time.
11 replies