Making a discord bot

Im struggling with line 4 at 18:37

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

the tutorial is using an old version of, you will need to use that, or update the code to follow the documentation of the most recent version