mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
refrence correct variables
This commit is contained in:
parent
7cda0fb5b1
commit
36a6793836
@ -245,8 +245,8 @@ namespace Bloxstrap.Integrations
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
smallimage = userPfpResponse.Data.ToArray()[0].ImageUrl;
|
smallImage = userPfpResponse.Data.ToArray()[0].ImageUrl;
|
||||||
App.Logger.WriteLine(LOG_IDENT, $"Got user thumbnail as {smallimage}");
|
App.Logger.WriteLine(LOG_IDENT, $"Got user thumbnail as {smallImage}");
|
||||||
}
|
}
|
||||||
|
|
||||||
var userInfoResponse = await Http.GetJson<UserInfoResponse>($"https://users.roblox.com/v1/users/{userId}");
|
var userInfoResponse = await Http.GetJson<UserInfoResponse>($"https://users.roblox.com/v1/users/{userId}");
|
||||||
@ -255,8 +255,8 @@ namespace Bloxstrap.Integrations
|
|||||||
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