Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Guild/GuildChannel): methods reason arg usage #5419

Merged
merged 1 commit into from Mar 28, 2021

Conversation

BannerBomb
Copy link
Contributor

@BannerBomb BannerBomb commented Mar 19, 2021

Please describe the changes this PR makes and why it should be merged:
I fixed an issue where the following methods were passing the reason argument as a property to the edit method instead of a parameter.
Most of these methods have had it that way for 3 years in which I don't know if y'all will want to fix it at this point. But I brought it up in case.

Guild#setIcon -> was introduced in #1975 (3 years ago)
Guild#setSplash -> was introduced in #1975 (3 years ago)
Guild#setBanner -> was introduced in #3364 (2 years ago)
Guild#setDiscoverySplash -> was introduced in #4619 (7 months ago)

GuildChannel#overwritePermissions -> was introduced in #3853 (1 year ago)

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

Copy link

@ProFireDev ProFireDev left a comment

Choose a reason for hiding this comment

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

looks good, approved for review

@iCrawl iCrawl changed the title Fixed GuildChannel/Guild methods reason arg usage. fix(Guild/GuildChannel): methods reason arg usage Mar 28, 2021
@iCrawl iCrawl merged commit 8411b9e into discordjs:master Mar 28, 2021
@iCrawl iCrawl added this to the Version 13 milestone Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants