post_logging_discord_image#

post_logging_discord_image(image)[source]#

Post an image to Discord to the Discord logging channel.

It’s a bit broken abstraction here, as we do not specifically pass the Discord webhook data around. We will just grab it from the active logger and post using those credentials.

If no Discord logger is active do nothing.

Parameters

image (bytes) –