Yuyo provides several methods for converting Hikari data objects to writeable builder objects.
builder = yuyo.to_builder.to_cmd_builder(cmd)
to_cmd_builder converts a hikari.PartialCommand object to the relevant builder object.
to_slash_cmd_builder and to_context_menu_builder can be used to convert command objects where the command type is already known without losing this information typing wise.
builder = yuyo.to_builder.to_msg_action_row_builder(row)
to_msg_action_row_builder converts a hikari.MessageActionRowComponent object to a hikari.api.MessageActionRowBuilder object.
There's several other methods which can be used to convert the sub-component objects found in message action rows to builder objects: