discord-rpc ~master
A static binding to 🎮 Discord RPC
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
Discord RPC D
A static binding to 🎮 Discord RPC.
Please note that Discord RPC is licensed under the terms of the MIT license.
Usage
First, get a copy of Discord RPC.
In order to link against libdiscord-rpc
, add it to your dub.json
.
"libs": [ "discord-rpc" ]
Now you can use Discord RPC in your code:
import discord.rpc;
void main()
{
DiscordEventHandlers handlers;
// ...
Discord_Initialize(APPLICATION_ID, &handlers, 1, null);
}
Links
- Discord RPC - SDK
https://github.com/discordapp/discord-rpc - Pre-built binaries for *Discord RPC*
https://github.com/discordapp/discord-rpc/releases
- Registered by Elias Batek
- ~master released 6 years ago
- analogjupiter/discord-rpc-d
- BSL-1.0
- Copyright © 2018 0xEAB
- Authors:
- Dependencies:
- none
- Versions:
-
3.3.0 2018-Sep-17 ~master 2018-Sep-17 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
47 downloads total
-
- Score:
- 0.7
- Short URL:
- discord-rpc.dub.pm