mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 18:11: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 icon = "roblox";
|
||||||
string smallimagetext = "Roblox";
|
string smallImageText = "Roblox";
|
||||||
string smallimage = "roblox";
|
string smallImage = "roblox";
|
||||||
|
|
||||||
long placeId = _activityWatcher.ActivityPlaceId;
|
long placeId = _activityWatcher.ActivityPlaceId;
|
||||||
string userId = _activityWatcher.ActivityUserId;
|
string userId = _activityWatcher.ActivityUserId;
|
||||||
@ -253,7 +253,8 @@ namespace Bloxstrap.Integrations
|
|||||||
if (userInfoResponse is null)
|
if (userInfoResponse is null)
|
||||||
{
|
{
|
||||||
App.Logger.WriteLine(LOG_IDENT, "Could not get user info!");
|
App.Logger.WriteLine(LOG_IDENT, "Could not get user info!");
|
||||||
} else {
|
} else
|
||||||
|
{
|
||||||
smallimagetext = userInfoResponse.DisplayName + $" (@{userInfoResponse.Username})"; //example: john doe (@johndoe)
|
smallimagetext = userInfoResponse.DisplayName + $" (@{userInfoResponse.Username})"; //example: john doe (@johndoe)
|
||||||
App.Logger.WriteLine(LOG_IDENT, $"Got user info as {smallimagetext}");
|
App.Logger.WriteLine(LOG_IDENT, $"Got user info as {smallimagetext}");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user