• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

EN LOGS

edys

Member
Hello, can I get logs of message user sent to me. I use youtube search script, and there is no "block private message" So anybody can type to bot !search. I need this because of trollers
 

Relentless

Well-Known Member
Contributor
Open the script, go to the line where it defines the chat event like this:
JavaScript:
// Chat event
event.on('chat', function(ev) {

    var client = ev.client;
Paste the following line above the client variable to block private messages:
JavaScript:
    if (ev.mode == 1) return;
 
Top