Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 9224659

Browse files
committed
Set Idle when no file is open
1 parent 166010a commit 9224659

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

UI/MainWindow.xaml.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,15 @@ private void UpdateWindowTitle()
350350
if (ee == null)
351351
{
352352
outString = "SPEdit";
353+
Program.discordClient.SetPresence(new RichPresence()
354+
{
355+
State = "Idle",
356+
Timestamps = Program.discordTime,
357+
Assets = new Assets()
358+
{
359+
LargeImageKey = "immagine",
360+
}
361+
});
353362
}
354363
else
355364
{

0 commit comments

Comments
 (0)