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

Add Discord++ to Community Resources > Libraries #3722

Merged
merged 1 commit into from
Sep 8, 2021

Conversation

UndarkAido
Copy link
Contributor

@UndarkAido UndarkAido commented Aug 27, 2021

Added my C++ library, Discord++, to the list of community libraries.

One of the core tenants of my library is modularity. Core functionality like the HTTP and WebSocket gateway modules can be swapped out to make use of different dependencies (though currently there aren't extra options) and plugins can be added seamlessly.

To this effect, my ratelimiting implementation is in a plugin: https://github.com/DiscordPP/plugin-ratelimit/blob/master/discordpp/plugin-ratelimit.hh
I plan to add a check to make sure some ratelimiting plugin is installed for safety. Edit: done

An example of a plugin, this one allows for easy use of !keyword-style commands: https://github.com/DiscordPP/plugin-responder

An example bot: https://github.com/DiscordPP/echo-bot

Edit 8/29: Plugin: Endpoints now has all of the endpoints for handling interactions. They're under discordpp/categories/application-commands.hh and discordpp/categories/receiving-and-responding.hh
Edit 8/29: An example of these in use: https://github.com/DiscordPP/echo-bot/blob/master/main.cc#L111-L139
Edit 8/30: Added thread endpoints under /channel/ and under /guild/
Edit 9/1: Plugin: Endpoints now has all endpoints minus GitHub and Slack-compatible webhooks

@NovaFox161
Copy link
Contributor

Iirc discord has said they won't be adding any more libraries to the list...

@UndarkAido
Copy link
Contributor Author

UndarkAido commented Aug 27, 2021

Iirc discord has said they won't be adding any more libraries to the list...

As far as I can tell that's library extensions that they aren't adding, like #3146

@NovaFox161
Copy link
Contributor

Iirc discord has said they won't be adding any more libraries to the list...

As far as I can tell that's library extensions that they aren't adding, like #3146

Yeah. My mistake. I misunderstood discord's statement about not including library extensions on the pages. Not new libraries.

@typpo typpo merged commit 043dca1 into discord:master Sep 8, 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.

3 participants