Doob
Doob
Explore posts from servers
SIASapphire - Imagine a framework
Created by Doob on 2/26/2023 in #sapphire-support
Pattern for fetching all registered slash commands
I have some slash commands and some with subcommands and and want to introduce a /help slash command that shows all the available guild commands and their description? I want to get the names and descriptions for all the slash commands. I realize I can use the raw discord client to fetch that registered commands and parse then use that. However, I'm trying to see if it's possible to avoid making those additional network calls. Thanks.
7 replies