Updating for latest discord.py

This commit is contained in:
thewesker
2023-04-10 19:27:49 -04:00
committed by GitHub
parent c5b94e8e70
commit f324e61094

View File

@@ -8,7 +8,10 @@ from validator import extractUrl, isSupportedUrl
load_dotenv()
client = discord.Client()
intents = discord.Intents.default()
intents.message_content = True
client = discord.Client(intents=intents)
@client.event
async def on_ready():