alqm
SIASapphire - Imagine a Framework
•Created by alqm on 4/20/2025 in #sapphire-support
returning different things to a run method
I was wondering if it is possible to return for example, a string to a chatinputrun method and have sapphire know to just reply to the interaction with that string or for example return an object with an embeds property with valid embed json same deal
9 replies
SIASapphire - Imagine a Framework
•Created by alqm on 4/6/2025 in #sapphire-support
best practice for hybrid commands
im wondering what the best practices for making commands that have a message and slash version would be. is it possible to have one single file (ex: ping.ts) that stores a PingSlashCommand class and a PingMessageCommand class? so far ive divided it up via 2 files. one called ping.ts and one called message.ping.ts. this is kinda annoying though...
6 replies
SIASapphire - Imagine a Framework
•Created by alqm on 4/2/2025 in #sapphire-support
refreshing all the application commands
how can i refresh every application command with sapphire? as in overwrite every single one when i launch the bot?
7 replies
SIASapphire - Imagine a Framework
•Created by alqm on 4/2/2025 in #sapphire-support
Global error listener
How would I make a listener that checks for any slash command error and returns a reply?
9 replies