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:
parent
9eca3a1d8b
commit
26319b62ee
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||||
|
|
Loading…
Add table
Reference in a new issue