Awesome
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
- WebSocket: Simple-WebSocket-Server
- WebSocket: Beast
- Currently broken
Included <sup>(Git submodules)</sup>
- nlohmann::json
- Asio (You can remove the submodule if Asio is being provided by Boost)
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 createstd::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
, andcallFile
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