SyntaxError: Identifier 'client' has already been declared error?

Help please

Hi there - you declare a variable called “client” twice - once on line 2 and next on line 5. You can only declare a variable name once. I suggest you rename “const client” on line 5 to something different like “const discordClient” and then replace every mention of “client” after line 5 with the name you used.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.