Set is not defined?


Hey everyone,

I just recently started using glitch to host my discord bot. My bot is running fine except for one problem! It’s telling me ‘Set’ is not defined. at one of my lines in index.js

This works just fine on visual studio, but for some reason it doesn’t on glitch.

What can I do to fix this? Sorry if my question is not clear enough, please let me know if you need to know any other information.


Our linting rules are out of date - it doesn’t understand Set(). It’s just a warning though, and doesn’t impact the running of your code so can be ignored. We hope to be able to update our linting soon.