I tried adding a hug command using !addcom !hug $(user) hugs $(touser) $(eval let responses = [with all their heart!, showing their appreciation!, but, I am only joking , but, is rejected , with all the love in the world!, ]; responses[ Math.floor(Math.random() * responses.length) ]; )
but the result is is excluding the EVAL and just uses everything after $(touser) as text.
Your command should be working, anyway, I improved it slightly, so if you want to use this code instead:
!addcom !hug $(eval r=[` with all their heart!`, `, showing their appreciation!`, `, but I am only joking :stuck_out_tongue:`, `, but is rejected :frowning:`, ` with all the love in the world!`]; `$(user) hugs $(touser)${r[Math.floor(Math.random()*r.length)]}`;)