diff --git a/extensions/inky_phat.py b/extensions/inky_phat.py index 5d96b25..6baa717 100644 --- a/extensions/inky_phat.py +++ b/extensions/inky_phat.py @@ -1,11 +1,18 @@ import socket # used to get local IP import time +import os import datetime import psutil from PIL import Image, ImageFont, ImageDraw from discord.ext import commands, tasks import inky +def is_enabled(): + if os.getenv("inky").lower() == "enabled": + return True + else: + return False + class InkyScreen(commands.Cog): def __init__(self, bot):