Making a discord bot

Im struggling with line 4 at 18:37

Traceback (most recent call last):
File “main.py”, line 10, in
client = discord.Client()
TypeError: init() missing 1 required keyword-only argument: ‘intents’

the tutorial is using an old version of discord.py, you will need to use that, or update the code to follow the documentation of the most recent version
https://discordpy.readthedocs.io/en/stable/