Skip to content
This repository was archived by the owner on Feb 3, 2019. It is now read-only.

Пофиксил #81, #82; Сделал систему проверок критических/необязательных обновлений #83

Closed
wants to merge 9 commits into from

Conversation

astrdark
Copy link
Contributor

  • Сделал проверку обновлений:
    • Если обновление критично(изменения в работе VK API, т. п.), то бот откажется запускаться, пока не обновят;
    • Если обновление необязательно(новый плагин, т. п.), то бот запустится, но с выводом сообщения о доступном обновлении;

settings.py Outdated
@@ -20,7 +20,7 @@ class BaseSettings:
# Edit this settings
class BotSettings(BaseSettings):
USERS = (
("group", "ТУТ ТОКЕН ГРУППЫ",),
("group", "f40365aea6699df57b83a6051706969813bf5907f656fb73f96fb0871bbaa27d4e806c4168416e11ceb49",),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Убери это :)

settings.py Outdated
@@ -58,7 +58,7 @@ class BotSettings(BaseSettings):
# You can import all plugins at once using `from plugins import *` at module-level.

prefixes = ("!", "бот ", "бот, ", "бот,")
admins = (87641997, )
admins = (200354619, )
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

и это изменение тоже стоит убрать :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

мда, настраивал все под себя и забыл из пуша убрать

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SevastyanDark если что, то можно было вообще убрать эти коммиты из истории)

@astrdark astrdark closed this Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant