Skip to content
Discussion options

You must be logged in to vote

RegisterCommandsAsync is just a shortcut for calling InitializeAsync on each command type. If you need the commands to be registered in a specific order, you can register them manually in the desired order.

-await this.RegisterCommandsAsync();
+await Command1.InitializeAsync(this);
+await Command2.InitializeAsync(this);
+await Command3.InitializeAsync(this);
+await Command4.InitializeAsync(this);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant