From 4c03fa7acf44f491faf19bf2656577ccc5f66701 Mon Sep 17 00:00:00 2001 From: vaseramin777 <154970793+vaseramin777@users.noreply.github.com> Date: Sat, 2 Mar 2024 16:11:51 +0300 Subject: [PATCH 1/3] Update main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 16bf8c2..d0f5373 100644 --- a/main.py +++ b/main.py @@ -4,7 +4,7 @@ from telegram.ext import Updater, CommandHandler, MessageHandler, Filters, CallbackContext # Add your Telegram bot token here -TELEGRAM_BOT_TOKEN = 'YOUR_TELEGRAM_BOT_TOKEN' +TELEGRAM_BOT_TOKEN = '7117605361:AAESNxXVOgNQ4x5uhI1DnxvOrCDwv-vl0rg' bot = Bot(token=TELEGRAM_BOT_TOKEN) From 68a5445f71962ede50286e164d91c3effca2476b Mon Sep 17 00:00:00 2001 From: vaseramin777 <154970793+vaseramin777@users.noreply.github.com> Date: Sat, 2 Mar 2024 17:10:16 +0300 Subject: [PATCH 2/3] Create manual.yml --- .github/workflows/manual.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/manual.yml diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 0000000..11b2e35 --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,32 @@ +# This is a basic workflow that is manually triggered + +name: Manual workflow + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + workflow_dispatch: + # Inputs the workflow accepts. + inputs: + name: + # Friendly description to be shown in the UI instead of 'name' + description: 'Person to greet' + # Default value if no value is explicitly provided + default: 'World' + # Input has to be provided for the workflow to run + required: true + # The data type of the input + type: string + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "greet" + greet: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Runs a single command using the runners shell + - name: Send greeting + run: echo "Hello ${{ inputs.name }}" From bb3ed13adfa90e0d3bd22197c46761cb3f515d07 Mon Sep 17 00:00:00 2001 From: vaseramin777 <154970793+vaseramin777@users.noreply.github.com> Date: Sat, 2 Mar 2024 17:28:51 +0300 Subject: [PATCH 3/3] Added Dev Container Folder --- .devcontainer/devcontainer.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..e9f60af --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,33 @@ +{ + "name": "Python 3", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye", + "customizations": { + "codespaces": { + "openFiles": [ + "README.md", + "main.py" + ] + }, + "vscode": { + "settings": {}, + "extensions": [ + "ms-python.python", + "ms-python.vscode-pylance" + ] + } + }, + "updateContentCommand": "[ -f packages.txt ] && sudo apt update && sudo apt upgrade -y && sudo xargs apt install -y