I'm using this command to select a winner between the sender and the user mentioned but it gives me an error
$(eval a=[$(sender),$(user)];a[Math.floor(Math.random()*a.length)])
and gives me:
[Error: Unexpected end of input]*a.length)])
I got the same response using it exactly how I found it in the forum from @member (worked for them):
$(eval a=[RESPONSE_1,RESPONSE_2,RESPONSE_3];a[Math.floor(Math.random()*a.length)])
Edit: I tested in the Nightbot and it works there, so might be something about Fossabot. Most things works for both but it seems this one not.

