mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
matt review changes (better code readability)
This commit is contained in:
parent
0715cc0b03
commit
2d41955d2a
@ -190,8 +190,8 @@ namespace Bloxstrap.Integrations
|
||||
}
|
||||
|
||||
string icon = "roblox";
|
||||
string smallimagetext = "Roblox";
|
||||
string smallimage = "roblox";
|
||||
string smallImageText = "Roblox";
|
||||
string smallImage = "roblox";
|
||||
|
||||
long placeId = _activityWatcher.ActivityPlaceId;
|
||||
string userId = _activityWatcher.ActivityUserId;
|
||||
@ -253,7 +253,8 @@ namespace Bloxstrap.Integrations
|
||||
if (userInfoResponse is null)
|
||||
{
|
||||
App.Logger.WriteLine(LOG_IDENT, "Could not get user info!");
|
||||
} else {
|
||||
} else
|
||||
{
|
||||
smallimagetext = userInfoResponse.DisplayName + $" (@{userInfoResponse.Username})"; //example: john doe (@johndoe)
|
||||
App.Logger.WriteLine(LOG_IDENT, $"Got user info as {smallimagetext}");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user