refactor!: move embedLength function to util package (#11327)

BREAKING CHANGE: Builders no longer exports a `embedLength` function. Import it from `@discordjs/util` instead.

Co-authored-by: Danial Raza <danialrazafb@gmail.com>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
This commit is contained in:
Almeida
2025-12-09 18:40:34 +00:00
committed by GitHub
parent 4db1092f8f
commit f60d3d65fe
7 changed files with 27 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
import { embedLength } from '@discordjs/util';
import { describe, test, expect } from 'vitest';
import { EmbedBuilder, embedLength } from '../../src/index.js';
import { EmbedBuilder } from '../../src/index.js';
const alpha = 'abcdefghijklmnopqrstuvwxyz';