using our own application id for discord
This commit is contained in:
parent
7b380e0d5f
commit
5845257e87
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
void Discord::RPC::init() {
|
void Discord::RPC::init() {
|
||||||
DiscordEventHandlers handlers{};
|
DiscordEventHandlers handlers{};
|
||||||
Discord_Initialize("1138176975865909360", &handlers, 1, nullptr);
|
Discord_Initialize("1139939140494971051", &handlers, 1, nullptr);
|
||||||
|
|
||||||
startTimestamp = time(nullptr);
|
startTimestamp = time(nullptr);
|
||||||
enabled = true;
|
enabled = true;
|
||||||
|
@ -21,7 +21,7 @@ void Discord::RPC::update(Discord::RPCStatus status, const std::string& game) {
|
||||||
rpc.details = "Idle";
|
rpc.details = "Idle";
|
||||||
}
|
}
|
||||||
|
|
||||||
rpc.largeImageKey = "pand";
|
rpc.largeImageKey = "shadps4";
|
||||||
rpc.largeImageText = "ShadPS4 is a PS4 emulator";
|
rpc.largeImageText = "ShadPS4 is a PS4 emulator";
|
||||||
rpc.startTimestamp = startTimestamp;
|
rpc.startTimestamp = startTimestamp;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue