/\_/\
( o.o )
>^<
georgiydemo / motovkbot Goto Github PK
View Code? Open in Web Editor NEWБот для рассылки новостей по тегам для паблика в вк
License: GNU General Public License v3.0
Бот для рассылки новостей по тегам для паблика в вк
License: GNU General Public License v3.0
/\_/\
( o.o )
>^<
Т.к. необходимо сохранять команды клавиатуры, даже если пользователь ввел какую-либо некорректную команду
Lines 3 to 6 in 2c47c75
TODO
comment in 2c47c75. It's been assigned to @GeorgiyDemo because they committed the code.MotoVKBot/vkbot/code/vk_bot.py
Lines 13 to 16 in 8bc5a14
TODO
comment in 8bc5a14. It's been assigned to @GeorgiyDemo because they committed the code.Lines 99 to 104 in b36faa1
TODO
comment in b36faa1. It's been assigned to @GeorgiyDemo because they committed the code.MotoVKBot/vkbot/code/vk_bot.py
Lines 3 to 6 in 773c524
TODO
comment in 773c524. It's been assigned to @GeorgiyDemo because they committed the code.MotoVKBot/vkbot/code/vk_bot.py
Lines 65 to 70 in 2d84f73
TODO
comment in 2d84f73. It's been assigned to @GeorgiyDemo because they committed the code.Lines 2 to 7 in 6233bfe
TODO
comment in 6233bfe. It's been assigned to @GeorgiyDemo because they committed the code.Там button'ы
Не очень понятно как хранить и учитывать купоны на скидку.
Если с генерацией еще понятно, то как учитывать их списывание?
Привет, Georgiy! Ты уже воспользовался купоном на скидку?
Если ответ да, то на всяк случай сразу удаляем купон с таблицы coupons (возможно его там и не будет
MotoVKBot/vkbot/code/vk_bot.py
Lines 95 to 100 in 50e6ca3
TODO
comment in 50e6ca3. It's been assigned to @GeorgiyDemo because they committed the code.Lines 3 to 6 in daa347e
TODO
comment in daa347e. It's been assigned to @GeorgiyDemo because they committed the code.Т.к. сейчас в main 700+ строк
MotoVKBot/vkbot/code/mongo_module.py
Lines 158 to 163 in d8218ae
TODO
comment in d8218ae. It's been assigned to @GeorgiyDemo because they committed the code.Lines 3 to 8 in b36faa1
TODO
comment in b36faa1. It's been assigned to @GeorgiyDemo because they committed the code.MotoVKBot/vkbot/code/vk_bot.py
Lines 2 to 5 in 03c39bf
TODO
comment in 03c39bf. It's been assigned to @GeorgiyDemo because they committed the code.Кнопка "Раздел расходники"
Кнопка "Все товары"
Lines 654 to 659 in e173ebd
TODO
comment in e173ebd. It's been assigned to @GeorgiyDemo because they committed the code.MotoVKBot/vkbot/code/vk_bot.py
Lines 36 to 41 in 8bc5a14
TODO
comment in 8bc5a14. It's been assigned to @GeorgiyDemo because they committed the code.Не больше 100 символов, к примеру
/user_info - информация о пользователе в вк
Выводит всю информацию в вк, включая след:
Сейчас происходит репост, а нужно сообщение с аттачами!
Обсудить возможность прохода автоворонки по второму разу. В этом случае будет выдан еще один купон и все снова
MotoVKBot/vkbot/code/vk_bot.py
Lines 2 to 6 in 773c524
TODO
comment in 773c524. It's been assigned to @GeorgiyDemo because they committed the code.Lines 500 to 505 in daa347e
TODO
comment in daa347e. It's been assigned to @GeorgiyDemo because they committed the code.MotoVKBot/vkbot/code/vk_bot.py
Lines 3 to 6 in 50e6ca3
TODO
comment in 50e6ca3. It's been assigned to @GeorgiyDemo because they committed the code.Композицию ннада
Lines 3 to 6 in fa00c19
TODO
comment in fa00c19. It's been assigned to @GeorgiyDemo because they committed the code.Lines 60 to 63 in 5179531
TODO
comment in 5179531. It's been assigned to @GeorgiyDemo because they committed the code.Lines 292 to 295 in 2c47c75
TODO
comment in 2c47c75. It's been assigned to @GeorgiyDemo because they committed the code.Lines 535 to 540 in daa347e
TODO
comment in daa347e. It's been assigned to @GeorgiyDemo because they committed the code.Введение еще одной таблицы, где учитывается возможность использования пользователями купонов.
Там TTL и когда истекает
Lines 4 to 9 in b36faa1
TODO
comment in b36faa1. It's been assigned to @GeorgiyDemo because they committed the code.MotoVKBot/vkbot/code/vk_bot.py
Lines 30 to 35 in 2d84f73
TODO
comment in 2d84f73. It's been assigned to @GeorgiyDemo because they committed the code.MotoVKBot/vkbot/code/mongo_module.py
Lines 140 to 145 in 6233bfe
TODO
comment in 6233bfe. It's been assigned to @GeorgiyDemo because they committed the code.During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "main.py", line 230, in __init__
self.processing()
File "main.py", line 238, in processing
for event in longpoll.listen():
File "/usr/local/lib/python3.6/dist-packages/vk_api/longpoll.py", line 603, in listen
for event in self.check():
File "/usr/local/lib/python3.6/dist-packages/vk_api/longpoll.py", line 542, in check
timeout=self.wait + 10
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 529, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='im.vk.com', port=443): Read timed out. (read timeout=35)
MAIN остановил работу!
Решение:
python273/vk_api#144
python273/vk_api#302
python273/vk_api#243
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.