|
Post by ???DaddyIndica on Oct 17, 2017 4:21:44 GMT
So I'm curious to know how you exclude things from a nodejs bot. I don't want people to be able to do commands with the say command, because ye know abuse and stuff. Anyway here is the code: if (message.startsWith(pr + 'say')){ bot.chat(message.substring(7)) console.log("Message sent ingame.") }
Please help me!
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 17, 2017 10:41:04 GMT
|
|
|
Post by SavnithTheBoat on Oct 17, 2017 10:53:57 GMT
Just make everything a console command.. I told you how to a lot of things.
|
|