added angle to rotate

This commit is contained in:
phixxy 2024-02-02 23:10:57 -08:00
parent 65565e86b0
commit d003279095

View file

@ -47,7 +47,7 @@ class InkyScreen(commands.Cog):
y -= height_diff y -= height_diff
else: else:
self.bot.logger.warning("InkyScreen: Text too long to fit on image.") self.bot.logger.warning("InkyScreen: Text too long to fit on image.")
image = image.rotate() image = image.rotate(180)
self.display.set_image(image) self.display.set_image(image)
self.display.show() self.display.show()
self.bot.logger.info("InkyScreen: Text successfully written to image.") self.bot.logger.info("InkyScreen: Text successfully written to image.")