sparky logger should be working properly now

This commit is contained in:
phixxy 2024-02-02 22:11:52 -08:00
parent 9e1624eb6b
commit 9cae625cc2
2 changed files with 25 additions and 13 deletions

View file

@ -17,9 +17,12 @@ class InkyScreen(commands.Cog):
self.admin_ids = [242018983241318410]
def setup(self):
display = inky.auto()
display.set_border(inky.BLACK)
return display
if self.enabled:
display = inky.auto()
display.set_border(inky.BLACK)
return display
else:
return None
def write_to_display(self, text: list):
if text is not self.old_message: