diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..f4f841c8b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +name: deploy + +on: workflow_dispatch + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: akhileshns/heroku-deploy@v3.12.12 + with: + region: "us" + branch: "master" + usedocker: true + stack: "container" + heroku_app_name: "nehakutti" + docker_heroku_process_type: worker + heroku_email: "mehermankar3@gmail.com" + heroku_api_key: "3700f3aa-d27c-429c-817f-e19f659466ab" diff --git a/config.env b/config.env new file mode 100644 index 000000000..66162c2f4 --- /dev/null +++ b/config.env @@ -0,0 +1,31 @@ +# ENTER BOT TOKEN (Get your BOT_TOKEN by talking to @botfather) +BOT_TOKEN = "2044015755:AAHYwLfgy2ItCiNpUlEb1JSQHYND8rBC2to" +GDRIVE_FOLDER_ID = "0AL4fGCoF7hCaUk9PVA" +OWNER_ID = 586922543 +DOWNLOAD_DIR = "/home/username/mirror-bot/downloads" +DOWNLOAD_STATUS_UPDATE_INTERVAL = 5 +AUTO_DELETE_MESSAGE_DURATION = 20 +IS_TEAM_DRIVE = "True" +TELEGRAM_API = 2125668 +TELEGRAM_HASH = "d6a8a3601ef71a1e379fa554c3098bf2" +USE_SERVICE_ACCOUNTS = "" + +# Optional config +AUTHORIZED_CHATS = "-1001526523796" #Separated by space +IGNORE_PENDING_REQUESTS = "" +INDEX_URL = "https://gdrive.moviesempire.workers.dev/0:" +MEGA_KEY = "NAgWwAIJ" +MEGA_USERNAME = "meherpatil84@gmail.com" +MEGA_PASSWORD = "patil1235" +BLOCK_MEGA_LINKS = "" +SHORTENER = "" +SHORTENER_API = "" + +# Add more buttons (two buttons are already added of file link and index link, you can add extra buttons too, these are optional) +# If you don't know what are below entries, simply leave them, Don't fill anything in them. +BUTTON_THREE_NAME = "Get Access" +BUTTON_THREE_URL = "https://groups.google.com/g/MoviesEmpire-td" +BUTTON_FOUR_NAME = "Channels" +BUTTON_FOUR_URL = "t.me/TheEmpireGroup" +BUTTON_FIVE_NAME = "" +BUTTON_FIVE_URL = "" diff --git a/config_sample.env b/config_sample.env deleted file mode 100644 index a4962b77c..000000000 --- a/config_sample.env +++ /dev/null @@ -1,34 +0,0 @@ -#Remove this line before deploying -_____REMOVE_THIS_LINE_____=True - -# ENTER BOT TOKEN (Get your BOT_TOKEN by talking to @botfather) -BOT_TOKEN = "" -GDRIVE_FOLDER_ID = "" -OWNER_ID = -DOWNLOAD_DIR = "/home/username/mirror-bot/downloads" -DOWNLOAD_STATUS_UPDATE_INTERVAL = 5 -AUTO_DELETE_MESSAGE_DURATION = 20 -IS_TEAM_DRIVE = "" -TELEGRAM_API = -TELEGRAM_HASH = "" -USE_SERVICE_ACCOUNTS = "" - -# Optional config -AUTHORIZED_CHATS = "" #Separated by space -IGNORE_PENDING_REQUESTS = "" -INDEX_URL = "" -MEGA_KEY = "" -MEGA_USERNAME = "" -MEGA_PASSWORD = "" -BLOCK_MEGA_LINKS = "" -SHORTENER = "" -SHORTENER_API = "" - -# Add more buttons (two buttons are already added of file link and index link, you can add extra buttons too, these are optional) -# If you don't know what are below entries, simply leave them, Don't fill anything in them. -BUTTON_THREE_NAME = "" -BUTTON_THREE_URL = "" -BUTTON_FOUR_NAME = "" -BUTTON_FOUR_URL = "" -BUTTON_FIVE_NAME = "" -BUTTON_FIVE_URL = "" diff --git a/token.pickle b/token.pickle new file mode 100644 index 000000000..49412f94d Binary files /dev/null and b/token.pickle differ