You could use the default Intents
unless you have a particular one to specify.
client = discord.Client(intents=discord.Intents.default())
As the first error message says, it is a keyword-only argument, so you cannot write discord.Client(discord.Intents.default())
without intents=
.
See Intents for more details.