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

refactor(GuildManager): Better handling of creation code #8974

Merged
merged 5 commits into from Dec 31, 2022

Conversation

Jiralite
Copy link
Member

@Jiralite Jiralite commented Dec 25, 2022

Please describe the changes this PR makes and why it should be merged:
I am sure that this approach is better than setting snake case names and deleting the camel case properties. It's also the approach of other areas of the library and helps tackle #5267.

I noticed icon is nullable here, but Discord's documentation doesn't seem to accept a null value.

I also reordered the parameters as they are in Discord's documentation.

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

@vercel
Copy link

vercel bot commented Dec 25, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
discord-js ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Dec 31, 2022 at 0:30AM (UTC)
1 Ignored Deployment
Name Status Preview Comments Updated
discord-js-guide ⬜️ Ignored (Inspect) Dec 31, 2022 at 0:30AM (UTC)

packages/discord.js/src/managers/GuildManager.js Outdated Show resolved Hide resolved
packages/discord.js/src/managers/GuildManager.js Outdated Show resolved Hide resolved
packages/discord.js/src/managers/GuildManager.js Outdated Show resolved Hide resolved
packages/discord.js/src/managers/GuildManager.js Outdated Show resolved Hide resolved
Jiralite and others added 3 commits December 25, 2022 19:02
Co-authored-by: Aura Román <kyradiscord@gmail.com>
@kodiakhq kodiakhq bot merged commit d7a09f6 into discordjs:main Dec 31, 2022
@Jiralite Jiralite deleted the refactor/guild-create-tidy branch December 31, 2022 00:30
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.

None yet

4 participants