node_modules/@discordjs/builders/dist/messages/embed/Embed.js
/**
     * Removes, replaces, or inserts fields in the embed (max 25).
     * @param index The index to start at.
     * @param deleteCount The number of fields to remove.
     * @param fields The replacing field objects.
     */
Removes, replaces, or inserts fields in the embed (max 25).
@param index The index to start at.
@param deleteCount The number of fields to remove.
@param fields The replacing field objects.
Removes replaces or inserts fields in the embed ( max 25 ) . @param index The index to start at . @param deleteCount The number of fields to remove . @param fields The replacing field objects .
spliceFields(index, deleteCount, ...fields) {
        ow_1.default(fields, 'fields', Assertions_1.embedFieldsArrayPredicate);
        Assertions_1.validateFieldLength(this.fields, fields.length - deleteCount);
        this.fields.splice(index, deleteCount, ...Embed.normalizeFields(...fields));
        return this;
    }
spliceFields ( index , deleteCount , ... fields ) { ow_1 . default ( fields , 'fields' , Assertions_1 . embedFieldsArrayPredicate ) ; Assertions_1 . validateFieldLength ( this . fields , fields . length - deleteCount ) ; this . fields . splice ( index , deleteCount , ... Embed . normalizeFields ( ... fields ) ) ; return this ; }
Removes, replaces, or inserts fields in the embed (max 25).
Removes replaces or inserts fields in the embed ( max 25 ) .
// Data assertions // Ensure adding these fields won't exceed the 25 field limit