Skip to content

Conversation

Jiralite
Copy link
Member

Please describe the changes this PR makes and why it should be merged:
As described in #6963, accessing the last parameter when one did not need the parameter before led to an ungraceful situation. This pull request resolves #6963.

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

Co-authored-by: Almeida <almeidx@pm.me>
Comment on lines +351 to +353
* @property {string} name The name of this author.
* @property {string} [url] The URL of this author.
* @property {string} [iconURL] The icon URL of this author.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why what?

@iCrawl iCrawl added this to the Version 13.4 milestone Nov 11, 2021
Copy link
Member

@vladfrangu vladfrangu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Outside the nit, this LGTM

@iCrawl iCrawl merged commit 73854ee into discordjs:main Nov 16, 2021
@Jiralite Jiralite deleted the author-object branch November 16, 2021 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Consider an object approach for MessageEmbed#setAuthor()
8 participants