We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8fe1ca commit e12ac46Copy full SHA for e12ac46
src/Bot/Entities/EventArgs/AppStatusEventArgs.cs
@@ -32,12 +32,16 @@ public static void SetAppStatus(
32
TimeSpan? statusExpiresAfter = null,
33
LogSeverity? severity = null
34
)
35
- => ChangeRequestedHandler.Call(new AppStatusEventArgs
+ {
36
+ if (VolteBot.IsHeadless) return;
37
+
38
+ ChangeRequestedHandler.Call(new AppStatusEventArgs
39
{
40
Status = status,
41
Icon = icon,
42
IsWorkingStatus = isWorkingStatus,
43
StatusExpiresAfter = statusExpiresAfter,
44
Severity = severity
45
});
46
+ }
47
}
0 commit comments