I constantly used message.chat for any commands, but in the function it does not work how to implement? enter image description here

enter image description here

    1 answer 1

    setInterval(function(message){ ... }, 3000, message); 
    • Where does the message object come from? - Igor
    • Honestly, I don’t know much, but as I understand it, mesage.send and the message itself is taken from the vk-io module because I have a bot for VC. - Dady
    • Show at least some code around your setInterval call. - Igor