Right hand side of 'instanceof' is not an object

i was making a command to create a random stage in sm64 and got right hand side of instanceof is not an object

can someone help

!commands add !Stage :8ball: $(eval const responses = [‘BOB’, 'WF, ‘CCM’, ‘JRB’, ‘DDD’, ‘BITDW’, ‘BITFS’, ‘BITS’, ‘SSL’, ‘LLL’, ‘HMC’, ‘Vanish’, ‘Wing’, ‘Metal’, ‘BBH’, ‘SL’, ‘TTM’, ‘THI’, ‘PSS’, ‘RR’, ‘TTC’, ‘Upstairs Wing Cap’, ‘WDW’ ]; responses[Math.floor(Math.random() * responses.length)]:wink:

@B6twitch

!addcom -cd=5 !stage :8ball: $(eval a=[`BOB`,`WF`,`CCM`,`JRB`,`DDD`,`BITDW`,`BITFS`,`BITS`,`SSL`,`LLL`,`HMC`,`Vanish`,`Wing`,`Metal`,`BBH`,`SL`,`TTM`,`THI`,`PSS`,`RR`,`TTC`,`Upstairs Wing Cap`,`WDW`];a[Math.floor(Math.random()*a.length)])

your second value is the issue, didn’t “close” it with the ’

1 Like

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