more debugging

This commit is contained in:
axell 2024-07-06 14:06:52 +02:00 committed by GitHub
parent 0c24753a1c
commit acfd8ad2f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -253,10 +253,12 @@ namespace Bloxstrap.Integrations
if (userInfoResponse is null || !userInfoResponse.Data.Any())
{
App.Logger.WriteLine(LOG_IDENT, "Could not get user info!");
return false;
}
} else {
App.Logger.WriteLine(LOG_IDENT, "testpoint1");
smallimagetext = userInfoResponse.Data.ToArray()[0].DisplayName + $"(@{userInfoResponse.Data.ToArray()[0].Username})"; //example: john doe (@johndoe)
App.Logger.WriteLine(LOG_IDENT, $"Got user info as {smallimagetext}");
}
App.Logger.WriteLine(LOG_IDENT, "testpoint2");
}