I am having trouble with . syntax in Glitch

I’m creating a discord bot and this happens:

Can someone explain what I am doing wrong here? I should be able to use basic syntax as a dot but I can’t at all hindering any progress.

Edit: In errors it says semi-colon but that was just me accidentally putting that at first, regardless it doesn’t work with the proper syntax “.”

Hmm try running refresh in the console

1 Like

I tried that, not sure what’s wrong. Do I need to install a package?

Nope, if members is an object then members.<something> should be fine since that’s standard javascript.

I was wondering whether the code still had : instead of ., but a refresh should have brought the editor up to date.

Maybe the editor might not be syncing properly…???