$
$
$this is -->2021-04-06 22:16:48
Node.js
$this is -->, 2021-04-06 22:16:48

Timer for user tg bot node?

there is a bot for tg (node ​​js) there is a command (for admin) +user (-user - delete) - which adds a user to the database, the command is written to the bot, there is an "Access" button - for the user, help to implement so that when the user clicks on "Access" it was entered into the database for N days - bd.json, when the time ran out it was automatically removed from the database, I tried it somehow through the countdown timer - but made a bunch of errors)

node telegram api

Image

606cb265efd89642469169.png
606cb30e2736d218515878.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question