{"id":20696952,"url":"https://github.com/whynot46/automated_assistant_for_system_administrators_in_telegram","last_synced_at":"2025-06-21T22:34:44.294Z","repository":{"id":163070151,"uuid":"638480496","full_name":"Whynot46/Automated_assistant_for_system_administrators_in_Telegram","owner":"Whynot46","description":"Automated assistant for system administrators in Telegram","archived":false,"fork":false,"pushed_at":"2023-05-09T18:18:30.000Z","size":24509,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T18:30:29.201Z","etag":null,"topics":["automation","chat-application","pytelegrambotapi","telegram-bot","telegram-bot-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Whynot46.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-09T13:02:02.000Z","updated_at":"2024-04-03T08:12:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"3002d10c-5066-48f6-8a6a-40a49b9f2144","html_url":"https://github.com/Whynot46/Automated_assistant_for_system_administrators_in_Telegram","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whynot46%2FAutomated_assistant_for_system_administrators_in_Telegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whynot46%2FAutomated_assistant_for_system_administrators_in_Telegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whynot46%2FAutomated_assistant_for_system_administrators_in_Telegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whynot46%2FAutomated_assistant_for_system_administrators_in_Telegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Whynot46","download_url":"https://codeload.github.com/Whynot46/Automated_assistant_for_system_administrators_in_Telegram/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242961754,"owners_count":20213315,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","chat-application","pytelegrambotapi","telegram-bot","telegram-bot-api"],"created_at":"2024-11-17T00:16:07.059Z","updated_at":"2025-03-11T02:49:04.793Z","avatar_url":"https://github.com/Whynot46.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Проект с открытым исходным кодом \"Автоматизированный помощник для системных администраторов в Telegram\"\n\n1) Запустите файл install_python.bat для установки интерпретатора Python.\n(Если у вас уже установлен интерпретатор Python версии 3.7 и выше, пропустите этот шаг)\n\n2) Запустите файл install_libraries.bat для установки необходимых библиотек и обновления пакетного менеджера pip.\n\n3) В Telegram запустите бота @BotFather командой /start . Для создания бота введите в чате с BotFather команду /newbot.\nБот попросит вас ввести название для нового бота. Можете указать в любом удобном формате, поддерживается кириллица и латиница, например: «тестовый bot». — Имя будет отображаться в заголовке и в информации о боте.\nПосле того, как вы дали боту имя, нужно указать его сокращенное название для ссылок. Оно должно обязательно содержат приставку «bot» на конце. Например: «Test_bot». — Сокращенное название может содержать от 5 до 32 и только латинских символов.\nЕсли все выполнено верно ваш бот будет зарегистрирован в Телеграм и BotFather выдаст вам токен бота в таком формате: \"764645301:AAGdRMMi_bF67lCkJjA0DKQNOwoATJQMWXk\" .\nЗдесь же, в @BotFather введите команду /mybots. Далее выберите созданного бота. Перейдите в Bot Settings → Group Privacy. Выберите \"Turn off\". Должна появиться фраза \"Privacy mode is disabled for Bot\".\n\n4) Вставьте полученный API_KEY в файл src/IDs.py в строке \" API_KEY = \". Важно! Вставляемый вами ключ должен быть заключён в кавычки!\n\n5) Создайте новый канал в Telegram, добавьте созданного вами бота и повысьте его до администратора. В этот канал будут отправляться уже сформированные заявки.\n\n6) Вам необходимо указать ID канала, в который будет производиться отправка сформированных заявок, а также указать ID пользователей, которые будут иметь доступ к панели администратора.\nЗапустите бота @chatIDrobot и отправьте ему сообщение с любым текстом. В ответ бот отправит вам подробную информацию об отправителе, включая нужный вам ID пользователя в формате: \" 1091349364 \".\nЧтобы узнать ID канала, отправьте в канал любое сообщение от администратора и перешлите его в бота @chatIDrobot, после чего бот отправит вам подробную информацию о канале, \nтакже включая нужный вам ID канала в формате: \" -1091815564673 \".\n\nВставьте ID канала в файл src/IDs.py в строке \" main_chanel_id = \". Важно! Вставляемый вами ID должен быть заключён в кавычки!\nВставьте ID администратор в файл src/IDs.py в строке \" admin_id = \" внутри квадратных скобок через запятую. Важно! Каждый вставляемый вами ID должен быть заключён в кавычки!\n\n9) Готово! Теперь ваше устройство готово к запуску бота! Запустите файл start.bat и пейте чаёк с печеньками, пока ваш бот собирает для вас заявки!\n\n\n*Опционально: Если вы хотите положить вашего бота в автозагрузку, то: \n1) Создайте ярлык файла start.bat .\n2) Нажмите комбинацию Win+R или в панели Пуск введите \"Выполнить\".\n3) В появившимся окне введите \"shell:startup\"\n4) В открывшуюся папку поместите созданный вам ярлык.\n\nПоздравляю вас, вы прекрасны!\n\n*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\n\nOpen source project \"Automated assistant for system administrators in Telegram\"\n\n1) Run the install_python.bat file to install the Python interpreter.\n(If you already have Python interpreter version 3.7 or later installed, skip this step)\n\n2) Run the install_libraries.bat file to install the necessary libraries and update the pip package manager.\n\n3) In Telegram, start the @BotFather bot with the /start command. To create a bot, enter the /newbot command in a chat with BotFather.\nThe bot will ask you to enter a name for the new bot. You can specify in any convenient format, Cyrillic and Latin are supported, for example: \"test bot\". - The name will be displayed in the title and in the information about the bot.\nAfter you have given the bot a name, you need to specify its short name for links. It must necessarily contain the prefix \"bot\" at the end. For example: \"Test_bot\". — The abbreviated name can contain from 5 to 32 and only Latin characters.\nIf everything is done correctly, your bot will be registered in Telegram and BotFather will give you a bot token in the following format: \"764645301:AAGdRMMi_bF67lCkJjA0DKQNOwoATJQMWXk\" .\nHere, in @BotFather, enter the /mybots command. Next, select the created bot. Go to Bot Settings → Group Privacy. Select \"Turn off\". The phrase \"Privacy mode is disabled for Bot\" should appear.\n\n4) Paste the resulting API_KEY into the IDs.py file at the \" API_KEY = \" line. Important! The key you insert must be enclosed in quotes!\n\n5) Create a new channel in Telegram, add the bot you created and promote it to admin. Already formed applications will be sent to this channel.\n\n6) You need to specify the ID of the channel to which generated requests will be sent, as well as specify the IDs of users who will have access to the admin panel.\nLaunch the @chatIDrobot bot and send him a message with any text. In response, the bot will send you detailed information about the sender, including the user ID you need in the format: \" 1091349364 \".\nTo find out the channel ID, send any message from the administrator to the channel and forward it to the @chatIDrobot bot, after which the bot will send you detailed information about the channel,\nalso including the channel ID you want in the format: \"-1091815564673\".\n\nPaste the channel ID into the IDs.py file at the \" main_chanel_id = \" line. Important! The ID you insert must be enclosed in quotes!\nPaste the admin ID into the IDs.py file on the line \" admin_id = \" inside square brackets separated by commas. Important! Each ID you insert must be enclosed in quotes!\n\n9) Done! Your device is now ready to run the bot! Run the file start.bat and drink tea and cookies while your bot collects applications for you!\n\n\n*Optional: If you want to autoload your bot, then:\n1) Create a shortcut to the start.bat file.\n2) Press the combination Win + R or in the Start panel, type \"Run\".\n3) In the window that appears, enter \"shell:startup\"\n4) In the folder that opens, place the shortcut you created.\n\nCongratulations, you are wonderful!\n\n*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\n\nThanks for downloading!\nMy GitHub: https://github.com/Whynot46\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhynot46%2Fautomated_assistant_for_system_administrators_in_telegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhynot46%2Fautomated_assistant_for_system_administrators_in_telegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhynot46%2Fautomated_assistant_for_system_administrators_in_telegram/lists"}