Hello, I want to add a test period that expires

after a certain date from now. How can I do this please?

13 ответов

16 просмотров

Test period? You mean time limit?

Enigma- Автор вопроса

You need a database or some sort of storage where you store the user's state in. Then you can add a command like /trial and store that the user just started a trial period. Then you periodically check for users who exceeded the trial period and terminate the premium features.

Enigma- Автор вопроса
Яico X
You need a database or some sort of storage where ...

No no. I just want to completely stop the bot for all users after a certain date

Are you planning to do a crypto scam?

no, sir its a legit company

dotvhs
no, sir its a legit company

How can we get through it 🤷🏻‍♂️

Enigma
No no. I just want to completely stop the bot for ...

Just stop the bot application when you want it to stop. Or check if a certain date has surpassed and then don't reply to messages anymore. If you are a developer, that shouldn't be an issue for you.

Enigma- Автор вопроса
Яico X
Are you planning to do a crypto scam?

No i have a menu builder bot that noob user can make his bot himself without any code writing and server just i wanna Getting a monthly or specofic datw subscription because of the server

Enigma- Автор вопроса
Яico X
Are you planning to do a crypto scam?

My bot is not about money trade I just want to stop the bot after a specific time because creating a database for each user is difficult and I can't make it

Enigma
My bot is not about money trade I just want to sto...

You mean you want to "stop" the bot created by the user but managed by your builder bot?

Enigma- Автор вопроса
Яico X
You mean you want to "stop" the bot created by the...

Yes As long as he subscribes again and the robot is activated for him

Похожие вопросы

Обсуждают сегодня

А можно не обсуждать тут V?
Darkanronpa Goodbye Despair
18
Вот зачем писать о том, чего ты не знаешь? Стохастический это и есть вероятностный. И в этом и проблема, что один и тот алгоритм на одних и тех же данных выдает разный результ...
Aleksandr Druzhinin
37
Какая бы группа загнулась? Этот канал о Ди. Хотите поговорить о го/зиге/расте - добро пожаловать на каналы этих языков. Тут про Ди не говорят практически. Загнулась бы группа ...
Aleksandr Druzhinin
10
Кстате вопрос. Насколько я помню, был пост. Что в D nogc имеет накладные расходы. При работе с GC. Правда, нет? Разобраться толком времени не хватило.
Vi
3
Уолтер в коммунити zig-а суету наводит: https://news.ycombinator.com/item?id=41015588 С одной стороны, конешн, пиарится, с другой стороны, коркоманде и тому же Kelley, который...
Constantin F.
26
Warning Failed to apply the selected architecture x86_64-pc-windows-msvc. Got ["x86"]. Error Unsupported architecture: x86_64-pc-windows-msvc кто-нибудь знает, что с ldc2? вот...
quantumde1 Зубенко
3
@wintttr gdc, ldc2, dmd?
quantumde1 Зубенко
6
Этот V кто делает?
☭Тупо Лучше Император
3
Я кстате только в играх пока ,действительно вижу проблему от GC. А у вас какие задачи раз GC не нужен?
Vi
2
появился нормальный вывод зависимостей файла в стиле makefile?
Макс Воробьев
4
Карта сайта