seyfert 2.1.1-dev-12450598903.0 → 2.1.1-dev-12461868587.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/builders/Embed.d.ts +2 -2
- package/lib/builders/Embed.js +2 -2
- package/package.json +1 -1
package/lib/builders/Embed.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export declare class Embed {
|
|
|
23
23
|
* @param author - The author information.
|
|
24
24
|
* @returns The updated Embed instance.
|
|
25
25
|
* @example
|
|
26
|
-
* embed.setAuthor({ name: 'John Doe',
|
|
26
|
+
* embed.setAuthor({ name: 'John Doe', iconUrl: 'https://example.com/avatar.png' });
|
|
27
27
|
*/
|
|
28
28
|
setAuthor(author?: ObjectToLower<APIEmbedAuthor>): this;
|
|
29
29
|
/**
|
|
@@ -64,7 +64,7 @@ export declare class Embed {
|
|
|
64
64
|
* @param footer - The footer information.
|
|
65
65
|
* @returns The updated Embed instance.
|
|
66
66
|
* @example
|
|
67
|
-
* embed.setFooter({ text: 'This is the footer',
|
|
67
|
+
* embed.setFooter({ text: 'This is the footer', iconUrl: 'https://example.com/footer.png' });
|
|
68
68
|
*/
|
|
69
69
|
setFooter(footer?: ObjectToLower<Omit<APIEmbedFooter, 'proxy_icon_url'>>): this;
|
|
70
70
|
/**
|
package/lib/builders/Embed.js
CHANGED
|
@@ -29,7 +29,7 @@ class Embed {
|
|
|
29
29
|
* @param author - The author information.
|
|
30
30
|
* @returns The updated Embed instance.
|
|
31
31
|
* @example
|
|
32
|
-
* embed.setAuthor({ name: 'John Doe',
|
|
32
|
+
* embed.setAuthor({ name: 'John Doe', iconUrl: 'https://example.com/avatar.png' });
|
|
33
33
|
*/
|
|
34
34
|
setAuthor(author) {
|
|
35
35
|
this.data.author = author && (0, common_1.toSnakeCase)(author);
|
|
@@ -85,7 +85,7 @@ class Embed {
|
|
|
85
85
|
* @param footer - The footer information.
|
|
86
86
|
* @returns The updated Embed instance.
|
|
87
87
|
* @example
|
|
88
|
-
* embed.setFooter({ text: 'This is the footer',
|
|
88
|
+
* embed.setFooter({ text: 'This is the footer', iconUrl: 'https://example.com/footer.png' });
|
|
89
89
|
*/
|
|
90
90
|
setFooter(footer) {
|
|
91
91
|
this.data.footer = footer && (0, common_1.toSnakeCase)(footer);
|