hey im trying to use a command saw somoene using before its like random answers like
!addcom Noob $(eval const responses = ['da nub ', 'baka , 'THeLastnoob ', ’ da cat ', catman ', ‘TLNW’, ‘wanna bully him? ‘, ’ timeout this nub ؟’, ’ he is watching ‘, ’ kill him’, ‘’, ‘noobi’, ‘the bot’,TheLastNoobWarrior’, ‘nub’ ]; responses[ Math.floor ( Math.random () * responses.length )]
when someone write noob the bot randomly answers with one of those thats what i saw can someone help me and tell me why the bot says
Well you should be using “ ` ” instead of “ ‘ ” and “ ’ ”
Also “TheLastNoobWarrior”, “baka”, and “catman” are missing a back tick.
!addcom Noob $(eval responses=[`da nub`,`baka`,`THeLastnoob`,`da cat`,`catman`,`TLNW`,`wanna bully him?`,`timeout this nub`,`he is watching`,`kill him`,` `,`noobi`,`the bot`,`TheLastNoobWarrior`,`nub`];responses[Math.floor(Math.random()*responses.length)])
Also idk if this is intended or not but there is a response that just returns nothing.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.