You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
since-mode is counting and showing numbers of days since last mentation of our favorite themes.
It may be two option probably: catch themes buzz words in the messages, or use /since_ command.
For example:
user: ну вообще, ООП решает эту проблему
vldc_bot: This is are 0 days since ООП discussion
or
user: современный php – не такой плохой язык, им вполне можно пользоваться
user2: /since_php
vldc_bot: This is are 2 days since Современный ПеХеПе discussion
For these two options, we need the preselected list of our favorite themes.
Alternativly, we may allow users creating they owns since-words, like:
user: да макось вообще не позволяет ничего кастомизировать, толи дело арч
user2: /since бест ОС евер
vldc_bot: This is are 0 days since бест ОС евер discussion
В таком случае можно добавить вывод всех since за все время:
user: /since_all
vldc_bot:
ООП: 0 days
Современный ПеХеПе: 20 days
бест ОС евер: 2 days
Obviously, we need some persistent storage for this kind of stuff. Let's say it will be mongo
I mean, I don't wanna store any state in the bot container \ instance. At this case, I believe we may use something like Cloud Firestore Do we love Google, hah?
We totally can, but I do not think we shoud. It would be way easier to fire up mongo alongside bot instance via docker-compost
We do not need firebase features like scalability, offline syncronization, realtime updates, network hiccups, occasional unexpected money spending or quota-reaching :)
since-mode
is counting and showing numbers of days since last mentation of our favorite themes.It may be two option probably: catch themes buzz words in the messages, or use
/since_
command.For example:
or
For these two options, we need the preselected list of our favorite themes.
Alternativly, we may allow users creating they owns since-words, like:
В таком случае можно добавить вывод всех since за все время:
Obviously, we need some persistent storage for this kind of stuff. Let's say it will be mongo
The text was updated successfully, but these errors were encountered: