Discord++
A Modularized C++ Library for the Discord API
Links
Dependencies
Required
- Boost (If using a Beast module)
- OpenSSL
- A Discord++ REST module
- A Discord++ WebSocket module
Included (Git submodules)
Recommended Plugins
- Plugin: RateLimit handes rate limiting
- Without this plugin, Discord++ exits when encountering a rate limit for your safety
- Plugin: Overload provides overloads for the websocket
send
function
to create std::shared_ptr
s for you and provides some sane defaults when you don’t need all their arguments.
- Plugin: Responder provides a simple interface for detecting commands
in the form of a character and a string, e.g.
!help
- Plugin: Native provides extensions to the default
call
, callJson
, and callFile
methods specific to different endpoints as well as native C++ objects for Discord’s JSON structures
- You can find more plugins on the #discordpp-plugin tag
Usage
See the Wiki for setup and configuration