( I don’t speak English very well. I’m from Germany )
I am doing a Twitch bot but I have no idea how to do a counter, cooldown and a mods only command.
Can anybody help me further. But all in a JavaScript file PS: How can the new followers and new sub or resubs be displayed in the chat? PSS:
And How i can make a 8 Ball Command ?
I see a lot of what I don’t understand but I don’t think so either
//The script for the Mod Only Command
client.on(‘message’, (channel, userstate, message, self) => {
if(self) return;
if(message.toLowerCase() === ‘!MODONLY’) {
client.say(channel, " lol Mod only xD")
}
});
//The cooldown script
client.on(‘message’, (channel, userstate, message, self) => {
if(self) return;
if(message.toLowerCase() === ‘!fail’) {
client.say(channel,‘FailFish FailFish Domivie - Seal of Quality Fails! FailFish FailFish’)
}
});
//The script for counters
client.on(‘message’, (channel, userstate, message, self) => {
if(self) return;
if(message.toLowerCase() === ‘!death’) {
client.say(channel, Nidoo is ... died
)
}
});
!death [+1]
!deathreset [0]
!deathset […]
//Who can help me or send the finished script?
//And another question
client.on(‘message’, (channel, userstate, message, self) => {
if(self) return;
if(message.toLowerCase() === ‘!followage’) {
client.say(channel, “Gibt es hier noch nicht :(”)
}
});
//And how can you do a followerage command?
//many many thanks in advance