mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
Add nickname to /Api/Bot display
https://github.com/JustArchiNET/ASF-ui/issues/159
This commit is contained in:
@@ -145,6 +145,10 @@ namespace ArchiSteamFarm {
|
||||
private DateTime LastLogonSessionReplaced;
|
||||
private ulong LibraryLockedBySteamID;
|
||||
private ulong MasterChatGroupID;
|
||||
|
||||
[JsonProperty]
|
||||
private string Nickname;
|
||||
|
||||
private Timer PlayingWasBlockedTimer;
|
||||
private bool ReconnectOnUserInitiated;
|
||||
private Timer SendItemsTimer;
|
||||
@@ -2146,6 +2150,7 @@ namespace ArchiSteamFarm {
|
||||
}
|
||||
|
||||
AvatarHash = avatarHash;
|
||||
Nickname = callback.Name;
|
||||
|
||||
if (Statistics != null) {
|
||||
Utilities.InBackground(() => Statistics.OnPersonaState(callback.Name, avatarHash));
|
||||
|
||||
Reference in New Issue
Block a user