You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an existing issue or pull request for this?
I have searched the existing issues and pull requests
Feature description
Currently, to initialise ApplicationCommandRegistries the framework fetches all guild command for all guilds on startup. This has turned out to be unfeasible for bots with a large amount of guilds, easily creating startup times of several minutes if not hours.
Desired solution
The framework should only fetch commands for a guild when its guild id is specified in a command's register options, making sure only guilds relevant to the application code have their guilds commands fetched. This would make the bot only have to fetch a few guilds at worst and none at all in most scenarios.
Is there an existing issue or pull request for this?
Feature description
Currently, to initialise ApplicationCommandRegistries the framework fetches all guild command for all guilds on startup. This has turned out to be unfeasible for bots with a large amount of guilds, easily creating startup times of several minutes if not hours.
Desired solution
The framework should only fetch commands for a guild when its guild id is specified in a command's register options, making sure only guilds relevant to the application code have their guilds commands fetched. This would make the bot only have to fetch a few guilds at worst and none at all in most scenarios.
Alternatives considered
None
Additional context
https://discord.com/channels/737141877803057244/737142774738190377/1014595177232465991
The text was updated successfully, but these errors were encountered: