DerelictDiscordRPC
A dynamic binding to the Discord Rich Presence (Discord-RPC) library.
This is not an official Derelict binding.
Installation
You'll need a copy of the Discord-RPC dynamic library. Either download the SDK and build it yourself or download the pre-compiled binaries from their GitHub releases page. Please note that the SDK is licensed under the terms of the MIT license.
In order to use this bindings, add this package as dependency to your DUB project.
Usage
void main()
{
// Load the Discord-RPC library.
DerelictDiscordRPC.load();
// Now Discord-RPC can be called.
...
}
For further information check the Discord-RPC docs.
Acknowledgement
Thanks to...
- DerelictOrg and Mike "aldacron" Parker for the DerelictUtil.
- Guillaume "p0nce" Piolat for his easy to understand Un4seen BASS bindings.
- Jan "WebFreak" Jurzitza for his help with translating some callbacks and for his great VS Code plugin for the D Programming Language code-d. Don't forget to check out his Discord client library discord-w!
- Discord, Inc. for their great chat client.