Creates the corresponding interaction type of a command based on its supported contexts.
The command.
Creates the corresponding interaction type of a command based on its supported contexts.