예제 #1
0
 internal static IListeningActivity CreateListeningActivity(string name, // TODO: интеграция со спотифи https://just-some-bots.github.io/MusicBot/using/spotify/
                                                            string song,
                                                            string band,
                                                            RichPresenceActivityParty party,
                                                            RichPresenceActivityAssets assets)
 {
     return(new ListeningActivity(name, song, band, party, assets));
 }
예제 #2
0
 internal static IStreamingActivity CreateStreamingActivity(
     StreamingPlatform platform,
     string streamName,
     string uri,
     RichPresenceActivityAssets assets)                                                        //TODO : дотестить как оно вообще работает
 {
     return(new StreamingActivity(platform, streamName, uri, assets));
 }