Trying to make a command that flips the characters in a string from user input after the command, so "hello world!" turns into "!dlrow olleh". I keep getting the "Right-hand side of 'instanceof' is not an object" response from nightbot can anyone help with my code and tell me what's wrong?
!addcom !reverse $(eval const n = '$(query)'; const r = n.split(); const v = r.reverse(); const f = v.join(); ? f;)
I'm not a programer so sorry if it's all wrong.