CreateCommand

constructor(name: String, localizedNames: Map<String, String>? = null, description: String, localizedDescriptions: Map<String, String>? = null, options: List<CommandOption>? = null, defaultPermission: Permissions? = null, allowedInDms: Boolean = true, nsfw: Boolean = false, type: CommandType = CommandType.ChatInput)(source)