Spikers
Explore posts from serversSIASapphire - Imagine a framework
•Created by Spikers on 10/26/2023 in #sapphire-support
Upgrading from djs v12 (commando) to djs v14 (and sapphire framework) - Unsure on how to Parse Types
My solution:
And I did end up having to create three custom arguments (I was referencing the guidelines prior to opening this, and couldn't figure out how to create one or at least export it, but I then realized it was some caching issue which was resolved with me deleting all my compiled files and recompiling).
Thank you again!
10 replies
SIASapphire - Imagine a framework
•Created by Spikers on 10/26/2023 in #sapphire-support
Upgrading from djs v12 (commando) to djs v14 (and sapphire framework) - Unsure on how to Parse Types
Thank you for your input and guidance, I now have it working!!
10 replies
SIASapphire - Imagine a framework
•Created by Spikers on 10/26/2023 in #sapphire-support
Upgrading from djs v12 (commando) to djs v14 (and sapphire framework) - Unsure on how to Parse Types
I don't know how I only thought of this now (I've been trying to figure it out for the past two days), but would it be possible to have a switch case, manually going through all of the configurable options / keys, and depending on what it needs have it set
const argsValue = args.next();
to argsValue = args.pick('type');
? (ex: if argsKey = councilorRole it would argsValue = args.pick('role');
)10 replies
SIASapphire - Imagine a framework
•Created by Spikers on 10/26/2023 in #sapphire-support
Upgrading from djs v12 (commando) to djs v14 (and sapphire framework) - Unsure on how to Parse Types
My Sapphire.js styled ConfigCommand:
10 replies
DIAdiscord.js - Imagine an app
•Created by Spikers on 10/26/2023 in #djs-questions
Upgrading from djs v12 (commando) to djs v14 (and sapphire framework) - Unsure on how to Parse Types
Will leave this up in case someone from here is able to help, but yes I understand the push for slash commands.
9 replies
DIAdiscord.js - Imagine an app
•Created by Spikers on 10/26/2023 in #djs-questions
Upgrading from djs v12 (commando) to djs v14 (and sapphire framework) - Unsure on how to Parse Types
I appreciate it, I'll go there now👍
9 replies
DIAdiscord.js - Imagine an app
•Created by Spikers on 10/26/2023 in #djs-questions
Upgrading from djs v12 (commando) to djs v14 (and sapphire framework) - Unsure on how to Parse Types
I joined their server as well, will dive into that if necessary, but I was just wondering if there was a vanilla djs v14 way of doing such (as it was just a helper function)!
9 replies
DIAdiscord.js - Imagine an app
•Created by Spikers on 10/26/2023 in #djs-questions
Upgrading from djs v12 (commando) to djs v14 (and sapphire framework) - Unsure on how to Parse Types
My Sapphire.js styled ConfigCommand:
9 replies