From 8b1f7596e3ae8cdfbaf65ecaac6129adac54c4a3 Mon Sep 17 00:00:00 2001 From: Abb3v <166838215+abb3v@users.noreply.github.com> Date: Mon, 23 Dec 2024 16:36:06 +1100 Subject: [PATCH] docs: Update embed examples (#308) --- src/builders/Embed.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/builders/Embed.ts b/src/builders/Embed.ts index 86911d0..e29bcfc 100644 --- a/src/builders/Embed.ts +++ b/src/builders/Embed.ts @@ -28,7 +28,7 @@ export class Embed { * @param author - The author information. * @returns The updated Embed instance. * @example - * embed.setAuthor({ name: 'John Doe', iconURL: 'https://example.com/avatar.png' }); + * embed.setAuthor({ name: 'John Doe', iconUrl: 'https://example.com/avatar.png' }); */ setAuthor(author?: ObjectToLower): this { this.data.author = author && toSnakeCase(author); @@ -89,7 +89,7 @@ export class Embed { * @param footer - The footer information. * @returns The updated Embed instance. * @example - * embed.setFooter({ text: 'This is the footer', iconURL: 'https://example.com/footer.png' }); + * embed.setFooter({ text: 'This is the footer', iconUrl: 'https://example.com/footer.png' }); */ setFooter(footer?: ObjectToLower>): this { this.data.footer = footer && toSnakeCase(footer);