intents
This commit is contained in:
3
power.py
3
power.py
@ -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():
|
||||||
|
Reference in New Issue
Block a user