Client.__init__() “missing 1 required keyword-only argument: ‘intents'”, or “takes 1 positional argument but 2 were given”

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.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)