📜  不和谐丰富的存在python代码示例

📅  最后修改于: 2022-03-11 14:45:47.231000             🧑  作者: Mango

代码示例3
static void UpdatePresence()
{
    DiscordRichPresence discordPresence;
    memset(&discordPresence, 0, sizeof(discordPresence));
    discordPresence.state = "Subscribe";
    discordPresence.details = "Please";
    discordPresence.largeImageText = "Subscribe!";
    discordPresence.partyId = "https://www.youtube.com/channel/UC1kyU4bjMI1RAh3Qw5l0rsw";
    discordPresence.partySize = 1;
    discordPresence.partyMax = 6;
    discordPresence.joinSecret = "MTI4NzM0OjFpMmhuZToxMjMxMjM= ";
    Discord_UpdatePresence(&discordPresence);
}