mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 14:57:54 +00:00
feat(bot): custom status
This commit is contained in:
parent
601d266063
commit
32a6e97342
2 changed files with 8 additions and 4 deletions
|
|
@ -67,8 +67,9 @@ public class Bot
|
|||
{
|
||||
new Activity
|
||||
{
|
||||
Type = ActivityType.Game,
|
||||
Name = BotStatus
|
||||
Type = ActivityType.Custom,
|
||||
Name = BotStatus,
|
||||
State = BotStatus
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
@ -141,7 +142,8 @@ public class Bot
|
|||
new Activity
|
||||
{
|
||||
Name = "Restarting... (please wait)",
|
||||
Type = ActivityType.Game
|
||||
State = "Restarting... (please wait)",
|
||||
Type = ActivityType.Custom
|
||||
}
|
||||
},
|
||||
Status = GatewayStatusUpdate.UserStatus.Idle
|
||||
|
|
@ -276,7 +278,8 @@ public class Bot
|
|||
new Activity
|
||||
{
|
||||
Name = BotStatus,
|
||||
Type = ActivityType.Game
|
||||
State = BotStatus,
|
||||
Type = ActivityType.Custom,
|
||||
}
|
||||
},
|
||||
Status = GatewayStatusUpdate.UserStatus.Online
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue