Answer the question
In order to leave comments, you need to log in
Why does logs.push not a function give an error?
Gives the following error: Handle polling update error: TypeError: logs.push is not a function
Command:
cmd.hear(/^(?:np)\s([^]+)$/i, async (message, bot) => {
logs.push({
idlog: message.user.uid,
logs: message.args[1]
})
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question