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

feat: add support for user-installable apps #782

Merged
merged 4 commits into from
Sep 8, 2024

Conversation

SerenModz21
Copy link
Contributor

Changes made:

  • Updated discord.js, @discordjs/builders, and @sapphire/discord-utilities
  • Added support for integration types and contexts
  • Fixed typing issues with partial group dm's being included in the channel type

The reason for the type assertions for the contexts and integration types is that discord.js wants a read-only array, while discord-api-types doesn't.

For the group DM typing issue, I hope the type guards that I have added are a sufficient fix.

And finally, I think I've put the use external apps permission in the correct place - to match the ordering.

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>
Signed-off-by: Seren_Modz 21 <seren@kings-world.net>
vladfrangu
vladfrangu previously approved these changes Sep 5, 2024
@favna favna merged commit e783074 into sapphiredev:main Sep 8, 2024
7 checks passed
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.

3 participants