• If you need help or want to discuss things, you now can also join us on our Discord Server!

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