T
T
TVgameYT2021-02-10 19:08:39
MongoDB
TVgameYT, 2021-02-10 19:08:39

How to add a variable for VK bot to mongodb?

6024048915d6d219261927.png602404957c6ee975046468.png
No. 1 error there is no variable in db what to do

Handle polling update error: TypeError: Cannot read property 'pep' of null
    at C:\Users\Пользователь\Desktop\Инвес\index.js:283:46
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async C:\Users\Пользователь\Desktop\Инвес\node_modules\vk-io-question\lib\index.js:65:13
    at async C:\Users\Пользователь\Desktop\Инвес\node_modules\vk-io\lib\index.js:6864:17


№2 error there is no variable in db what to do
Handle polling update error: TypeError: Cannot read property 'inv' of null
    at C:\Users\Пользователь\Desktop\Инвес\index.js:252:9
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async C:\Users\Пользователь\Desktop\Инвес\node_modules\vk-io-question\lib\index.js:65:13
    at async C:\Users\Пользователь\Desktop\Инвес\node_modules\vk-io\lib\index.js:6864:17

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2021-02-11
@saboteur_kiev

Do not steal a code that you do not understand, but take it legally and get instructions on what should be in the database.
Moreover, there are direct contacts to whom to ask. Or do you think it is interesting for someone to know by heart all the source codes of all bots?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question