This commit is contained in:
2024-10-09 22:24:35 +00:00
parent c47d514cca
commit e4bebab368

View File

@ -77,7 +77,8 @@ def send_email(subject, body):
except Exception as e: except Exception as e:
logger.info(f"Failed to send email: {e}") logger.info(f"Failed to send email: {e}")
client = discord.Client() intents = discord.Intents.default()
client = discord.Client(intents=intents)
@client.event @client.event
async def on_ready(): async def on_ready():