Register a command on every guild

Hey,

I am working on a bot, where I need to register some commands on every guild the bot is on. I cannot use global commands in that case. I was not able to find a straight forward in-build way to do that, so I wanted to ask, whether I missed something, or whether I have to implement that manually.

I am still pretty new to sapphire, so if I need to do that manually, would be great if someone could give me food for thought.

PS: Please mention me if you answer, else I might miss it CatRelax
Solution
You'll pretty much have to end up handling registering yourself, which these methods make easier than doing it raw through the DiscordJS methods. As opposed to using the registerApplicationCommands in the command that is. Then as for how it will help, you can register the commands yourself to the guild in question when you receive a guildAdd event.
Was this page helpful?