Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
zZeck committed Jun 8, 2022
1 parent 42395c3 commit ca398d1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion patch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ extern __declspec(dllexport) INT APIENTRY DllMain(HINSTANCE hInstDll, DWORD fdwR
void Discord()
{
discord::ClientId CLIENT_ID(983113098980364359);
auto result = discord::Core::Create(CLIENT_ID, DiscordCreateFlags_Default, &core);
auto result = discord::Core::Create(CLIENT_ID, EDiscordCreateFlags::DiscordCreateFlags_NoRequireDiscord, &core);

if(core == nullptr) {
return;
}

discord::Activity activity{};
activity.SetType(discord::ActivityType::Playing);
Expand Down

0 comments on commit ca398d1

Please sign in to comment.