1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-20 00:43:36 +03:00

github editing moment

Signed-off-by: Macintosh II <95250141+mctaylors@users.noreply.github.com>
This commit is contained in:
Macintxsh 2023-10-02 10:25:02 +03:00 committed by GitHub
parent 9eca3a1d8b
commit 26319b62ee
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,8 +53,8 @@ public sealed class SongUpdateService : BackgroundService
while (!ct.IsCancellationRequested) while (!ct.IsCancellationRequested)
{ {
var nextSong = SongList[_nextSongIndex]; var nextSong = SongList[_nextSongIndex];
_activityList[0] = new Activity($"{nextSong.Name} / {nextSong.Author}" _activityList[0] = new Activity($"{nextSong.Name} / {nextSong.Author}",
, ActivityType.Listening); ActivityType.Listening);
_client.SubmitCommand( _client.SubmitCommand(
new UpdatePresence( new UpdatePresence(
UserStatus.Online, false, DateTimeOffset.UtcNow, _activityList)); UserStatus.Online, false, DateTimeOffset.UtcNow, _activityList));