mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-20 00:43:36 +03:00
meh
Signed-off-by: Macintosh II <95250141+mctaylors@users.noreply.github.com>
This commit is contained in:
parent
514a620c0b
commit
9eca3a1d8b
1 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ public sealed class SongUpdateService : BackgroundService
|
||||||
("Liquid Sunshine", "Squid Sisters feat. Ian BGM", new TimeSpan(0, 1, 32)),
|
("Liquid Sunshine", "Squid Sisters feat. Ian BGM", new TimeSpan(0, 1, 32)),
|
||||||
("Candy-Coated Rocks", "Damp Socks feat. Off the Hook", new TimeSpan(0, 1, 11)),
|
("Candy-Coated Rocks", "Damp Socks feat. Off the Hook", new TimeSpan(0, 1, 11)),
|
||||||
("Aquasonic", "H2Whoa", new TimeSpan(0, 1, 1)),
|
("Aquasonic", "H2Whoa", new TimeSpan(0, 1, 1)),
|
||||||
("Ska-Blam!", "Yoko & the Gold Bazookas", new TimeSpan(0, 4, 4)),
|
("Ska-BLAM", "Yoko & the Gold Bazookas", new TimeSpan(0, 4, 4)),
|
||||||
("Muck Warfare", "Off the Hook", new TimeSpan(0, 3, 39)),
|
("Muck Warfare", "Off the Hook", new TimeSpan(0, 3, 39)),
|
||||||
("Acid Hues", "Off the Hook", new TimeSpan(0, 3, 39)),
|
("Acid Hues", "Off the Hook", new TimeSpan(0, 3, 39)),
|
||||||
("Shark Bytes", "Off the Hook", new TimeSpan(0, 3, 48)),
|
("Shark Bytes", "Off the Hook", new TimeSpan(0, 3, 48)),
|
||||||
|
@ -53,8 +53,8 @@ public sealed class SongUpdateService : BackgroundService
|
||||||
while (!ct.IsCancellationRequested)
|
while (!ct.IsCancellationRequested)
|
||||||
{
|
{
|
||||||
var nextSong = SongList[_nextSongIndex];
|
var nextSong = SongList[_nextSongIndex];
|
||||||
var builder = new StringBuilder().Append(nextSong.Name).Append(" / ").Append(nextSong.Author);
|
_activityList[0] = new Activity($"{nextSong.Name} / {nextSong.Author}"
|
||||||
_activityList[0] = new Activity(builder.ToString(), 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