Merge branch 'discord'

This commit is contained in:
2023-06-08 12:21:54 +02:00
57 changed files with 17185 additions and 4 deletions

15
include/misc/DiscordRPC.h Normal file
View File

@@ -0,0 +1,15 @@
#pragma once
#include <string>
namespace td {
namespace utils {
void InitDiscordRPC();
void UpdateDiscordRPC();
void ShutdownDiscordRPC();
void UpdateDiscordPresence(const std::string& state, const std::string& details, bool resetTimer = false);
} // namespace utils
} // namespace td