diff --git a/packages/builders/__tests__/messages/embed.test.ts b/packages/builders/__tests__/messages/embed.test.ts index 088de286a215..8dc2c63c010f 100644 --- a/packages/builders/__tests__/messages/embed.test.ts +++ b/packages/builders/__tests__/messages/embed.test.ts @@ -318,15 +318,6 @@ describe('Embed', () => { }); }); - test('GIVEN an embed using Embed#addField THEN returns valid toJSON data', () => { - const embed = new Embed(); - embed.addField({ name: 'foo', value: 'bar' }); - - expect(embed.toJSON()).toStrictEqual({ - fields: [{ name: 'foo', value: 'bar' }], - }); - }); - test('GIVEN an embed using Embed#addFields THEN returns valid toJSON data', () => { const embed = new Embed(); embed.addFields({ name: 'foo', value: 'bar' }); diff --git a/packages/builders/src/messages/embed/UnsafeEmbed.ts b/packages/builders/src/messages/embed/UnsafeEmbed.ts index 3d7ce09e4c4b..698c95b61b36 100644 --- a/packages/builders/src/messages/embed/UnsafeEmbed.ts +++ b/packages/builders/src/messages/embed/UnsafeEmbed.ts @@ -175,15 +175,6 @@ export class UnsafeEmbed implements Equatable { return typeof this.data.color === 'number' ? `#${this.data.color.toString(16).padStart(6, '0')}` : this.data.color; } - /** - * Adds a field to the embed (max 25) - * - * @param field The field to add. - */ - public addField(field: APIEmbedField): this { - return this.addFields(field); - } - /** * Adds fields to the embed (max 25) *