use inky env var now

This commit is contained in:
phixxy 2024-02-02 22:41:11 -08:00
parent 3f30f13ad7
commit 3143d8c443

View file

@ -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):