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

Cover remaining events and endpoints, update to Discord v10 #74

Merged
merged 85 commits into from
Sep 3, 2022
Merged

Conversation

lcsmuller
Copy link
Collaborator

@lcsmuller lcsmuller commented Jun 20, 2022

What?

  • Cover all of Discord API's event callbacks
  • BSD Makefile compliant build system, enable -O2 compilation flag per the default
  • Cover remaining endpoints
  • Update to Discord v10
  • Make the Timer API thread-safe

Why?

An ongoing effort to keep Concord up to date with the Discord official API, and improve our internal API

How?

Add discord_set_on_*() functions for the remaining event callbacks, add function wraps for remaining endpoints and update DISCORD_API_BASE_URL and DISCORD_GATEWAY_URL_SUFFIX value to match that of Discord v10

Testing?

Added examples to cover newly added events and endpoints

@lcsmuller lcsmuller added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 20, 2022
…e.h -> *.PRE.H to make gencodecs files easier to distinguish, simplify

* refactor(Makefile): append with '+=' operator rather than repeating
  itself
@lcsmuller lcsmuller added the missing feature Missing Discord API feature label Jul 29, 2022
@lcsmuller lcsmuller marked this pull request as ready for review August 5, 2022 16:09
lcsmuller and others added 16 commits August 7, 2022 21:40
Show enumerators and struct members that are undocumented
Adds:
- Create Guild from Guild Template
- Get Guild Templates
- Modify Guild Template
- Delete Guild Template
Add
- Get Sticker
- List Nitro Sticker Packs
- List Guild Stickers
- Get Guild Sticker
- Modify Guild Sticker
- Delete Guild Sticker
Missing
- Create Guild Sticker
Add
- Create Stage Instance
- Get Stage Instance
- Modify Stage Instance
- Delete Stage Instance
Add JSON support for 'struct discord_application_command' partial fields

Closes #80
Discord will be using a different URL for resuming purposes, this commit
implements that
Add a GENCODECS_RECIPE environment macro that should assume the
  value of the currently running generator recipe.
@lcsmuller lcsmuller merged commit 1da91a6 into master Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request missing feature Missing Discord API feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants