SyntaxError: Identifier 'client' has already been declared on discord bot

Can you provide line numbers, most likely you’ve written const client twice somewhere
The second time you see it, remove the const

2 Likes

or you could simply use Ctrl + F or Ctrl + G and search const client and delete one. (if the code is large)

1 Like

what was on line 33 as mentioned in the error message?

Whatever you have on line 33, remove it because I believe you are defining it there again and you don’t need to.

Hi! Can you please give us your full code?