Skip to content

Commit

Permalink
feat: remove unused commands (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
riveriswild authored Jul 2, 2024
1 parent b2269d3 commit b94c09d
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 945 deletions.
36 changes: 0 additions & 36 deletions src/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@ def init_handlers(self):
self.manager_reply_handler("trello_board_state_job"),
"получить сводку о состоянии доски",
)
self.add_manager_handler(
"get_editorial_board_stats",
CommandCategories.STATS,
self.manager_reply_handler("editorial_board_stats_job"),
"получить статистику изменений за неделю",
)
self.add_manager_handler(
"get_editorial_board_visual_stats",
CommandCategories.STATS,
Expand Down Expand Up @@ -127,12 +121,6 @@ def init_handlers(self):
),
"заполнить реестр постов из Focalboard (пока не работает)",
)
self.add_admin_handler(
"send_editorial_report",
CommandCategories.BROADCAST,
self.admin_broadcast_handler("editorial_report_job"),
"рассылка сводки по результатам редакторского созвона",
)
self.add_admin_handler(
"hr_acquisition",
CommandCategories.HR,
Expand All @@ -157,30 +145,12 @@ def init_handlers(self):
self.admin_broadcast_handler("hr_status_job"),
"разослать статус по работе hr (по новичкам и участинкам на испытательном)",
)
self.add_manager_handler(
"get_editorial_report",
CommandCategories.SUMMARY,
self.manager_reply_handler("editorial_report_job"),
"получить сводку по результатам редакторского созвона",
)
self.add_manager_handler(
"create_folders_for_illustrators",
CommandCategories.REGISTRY,
self.manager_reply_handler("create_folders_for_illustrators_job"),
"создать папки для иллюстраторов",
)
self.add_manager_handler(
"get_illustrative_report_members",
CommandCategories.SUMMARY,
self.manager_reply_handler("illustrative_report_members_job"),
"получить сводку с папками для иллюстраторов (группы по иллюстраторам)",
)
self.add_manager_handler(
"get_illustrative_report_columns",
CommandCategories.SUMMARY,
self.manager_reply_handler("illustrative_report_columns_job"),
"получить сводку с папками для иллюстраторов (группы по колонкам)",
)
self.add_manager_handler(
"get_tasks_report",
CommandCategories.SUMMARY,
Expand All @@ -199,12 +169,6 @@ def init_handlers(self):
direct_message_only(handlers.get_tasks_report_focalboard),
"получить список задач из Focalboard",
)
self.add_manager_handler(
"get_articles_arts",
CommandCategories.SUMMARY,
self.manager_reply_handler("trello_get_articles_arts_job"),
"получить карточки по тегу искусство",
)
self.add_manager_handler(
"get_articles_rubric",
CommandCategories.SUMMARY,
Expand Down
5 changes: 0 additions & 5 deletions src/jobs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
from .db_fetch_curators_sheet_job import DBFetchCuratorsSheetJob
from .db_fetch_strings_sheet_job import DBFetchStringsSheetJob
from .db_fetch_team_sheet_job import DBFetchTeamSheetJob
from .editorial_board_stats_job import EditorialBoardStatsJob
from .editorial_board_visual_stats_job import EditorialBoardVisualStatsJob
from .editorial_report_job import EditorialReportJob
from .fb_analytics_report_job import FBAnalyticsReportJob
from .fill_posts_list_focalboard_job import FillPostsListFocalboardJob
from .fill_posts_list_job import FillPostsListJob
Expand All @@ -28,8 +26,6 @@
from .hr_get_members_without_telegram_job import HRGetMembersWithoutTelegramJob
from .hr_status_job import HRStatusJob
from .ig_analytics_report_job import IGAnalyticsReportJob
from .illustrative_report_columns_job import IllustrativeReportColumnsJob
from .illustrative_report_members_job import IllustrativeReportMembersJob
from .publication_plans_job import PublicationPlansJob
from .sample_job import SampleJob
from .send_reminders_job import SendRemindersJob
Expand All @@ -39,6 +35,5 @@
from .tg_analytics_report_job import TgAnalyticsReportJob
from .trello_board_state_job import TrelloBoardStateJob
from .trello_board_state_notifications_job import TrelloBoardStateNotificationsJob
from .trello_get_articles_arts_job import TrelloGetArticlesArtsJob
from .trello_get_articles_rubric_job import TrelloGetArticlesRubricJob
from .vk_analytics_report_job import VkAnalyticsReportJob
169 changes: 0 additions & 169 deletions src/jobs/editorial_board_stats_job.py

This file was deleted.

Loading

0 comments on commit b94c09d

Please sign in to comment.