From f324e6109417f0ee7db06aae8a19843bfcdbff7b Mon Sep 17 00:00:00 2001 From: thewesker Date: Mon, 10 Apr 2023 19:27:49 -0400 Subject: [PATCH] Updating for latest discord.py --- main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index d37d2a7..287630a 100644 --- a/main.py +++ b/main.py @@ -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():