Update the createCommand method to support creation of various slash command types (e.g. Deferred, ephemeral, etc.)