diff --git a/power.py b/power.py index aea7ec6..7698d69 100644 --- a/power.py +++ b/power.py @@ -77,7 +77,8 @@ def send_email(subject, body): except Exception as e: logger.info(f"Failed to send email: {e}") -client = discord.Client() +intents = discord.Intents.default() +client = discord.Client(intents=intents) @client.event async def on_ready():