logging image
This commit is contained in:
@@ -57,6 +57,7 @@ public class LightlessModule : InteractionModuleBase
|
|||||||
{
|
{
|
||||||
_logger.LogWarning("Fetching profile image for UID: {uid}", uidToGet);
|
_logger.LogWarning("Fetching profile image for UID: {uid}", uidToGet);
|
||||||
byte[] profileImage = await GetProfileImage(db, uid).ConfigureAwait(false);
|
byte[] profileImage = await GetProfileImage(db, uid).ConfigureAwait(false);
|
||||||
|
_logger.LogWarning("Image in Bytes: {img}", profileImage);
|
||||||
MemoryStream ms = new(profileImage);
|
MemoryStream ms = new(profileImage);
|
||||||
await using (ms.ConfigureAwait(false))
|
await using (ms.ConfigureAwait(false))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user