Project abandoned. Use discord-rpc-d instead.
A dynamic binding to the Discord Rich Presence (Discord-RPC) library.
This is not an official Derelict binding.
You'll need a copy of the Discord-RPC dynamic library. Either get the SDK and build it yourself or download the pre-compiled binaries from GitHub releases page.
Please note that Discord-RPC are licensed under the terms of the MIT license.
In order to use this binding, add derelict_extras-discord-rpc
into the dependency section of your DUB project.
Also don't forget to put the Discord-RPC binary into your application's directory.
import derelict.discord.rpc;
void main()
{
// Load the Discord-RPC library.
DerelictDiscordRPC.load();
// Now Discord-RPC functions can be called.
...
}
For further information on how to use Discord-RPC check the Discord-RPC docs.
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.