Skip to content

Commit

Permalink
Umm
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonymousX1025 authored Aug 21, 2023
1 parent 8282d7b commit 7ac09f1
Show file tree
Hide file tree
Showing 12 changed files with 387 additions and 387 deletions.
20 changes: 10 additions & 10 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.env
.cache
log.txt
.DS_Store
*.session
raw_files/
cache/
downloads/
__pycache__/
*.session-journal
.env
.cache
log.txt
.DS_Store
*.session
raw_files/
cache/
downloads/
__pycache__/
*.session-journal
20 changes: 10 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.env
.cache
log.txt
.DS_Store
*.session
raw_files/
cache/
downloads/
__pycache__/
*.session-journal
.env
.cache
log.txt
.DS_Store
*.session
raw_files/
cache/
downloads/
__pycache__/
*.session-journal
24 changes: 12 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM nikolaik/python-nodejs:python3.10-nodejs19

RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

COPY . /app/
WORKDIR /app/
RUN pip3 install --no-cache-dir -U -r requirements.txt

CMD bash start
FROM nikolaik/python-nodejs:python3.10-nodejs19

RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

COPY . /app/
WORKDIR /app/
RUN pip3 install --no-cache-dir -U -r requirements.txt

CMD bash start
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
worker: bash start
worker: bash start
146 changes: 73 additions & 73 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,73 +1,73 @@
{
"name": "ᴀɴᴏɴ ダ ᴍᴜsɪᴄ",
"description": "A Telegram Music Player Bot, written in Python with Pyrogram and Py-Tgcalls.",
"logo": "https://te.legra.ph/file/b8a0c1a00db3e57522b53.jpg",
"keywords": [
"python3",
"telegram",
"bot",
"AnonX",
"MusicBot",
"telegram-bot",
"pyrogram"
],
"env": {
"API_ID": {
"description": "Get this value from https://my.telegram.org",
"value": "",
"required": true
},
"API_HASH": {
"description": "Get this value from https://my.telegram.org",
"value": "",
"required": true
},
"BOT_TOKEN": {
"description": "A Bot's token from Botfather",
"value": "",
"required": true
},
"MONGO_DB_URI": {
"description": "Get a mongodb url from https://cloud.mongodb.com.",
"value": "",
"required": true
},
"OWNER_ID": {
"description": "The user id of user whom you would like to add as OWNER.",
"value": "",
"required": true
},
"STRING_SESSION": {
"description": "A Pyrogram v2 String Session from @StringFatherBot on Telegram.",
"value": "",
"required": true
},
"HEROKU_API_KEY": {
"description": "Your Heroku account's API key",
"value": "",
"required": false
},
"HEROKU_APP_NAME": {
"description": "Your heroku app name",
"value": "",
"required": false
},
"LOGGER_ID": {
"description": "Your Log Group ID, add your bot and promote as an admin with full rights!. Channel ki id mat daal dena bsdk.",
"value": "",
"required": true
}
},
"buildpacks": [
{
"url": "heroku/python"
},
{
"url": "heroku/nodejs"
},
{
"url": "https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git"
}
],
"stack": "container"
}
{
"name": "ᴀɴᴏɴ ダ ᴍᴜsɪᴄ",
"description": "A Telegram Music Player Bot, written in Python with Pyrogram and Py-Tgcalls.",
"logo": "https://te.legra.ph/file/b8a0c1a00db3e57522b53.jpg",
"keywords": [
"python3",
"telegram",
"bot",
"AnonX",
"MusicBot",
"telegram-bot",
"pyrogram"
],
"env": {
"API_ID": {
"description": "Get this value from https://my.telegram.org",
"value": "",
"required": true
},
"API_HASH": {
"description": "Get this value from https://my.telegram.org",
"value": "",
"required": true
},
"BOT_TOKEN": {
"description": "A Bot's token from Botfather",
"value": "",
"required": true
},
"MONGO_DB_URI": {
"description": "Get a mongodb url from https://cloud.mongodb.com.",
"value": "",
"required": true
},
"OWNER_ID": {
"description": "The user id of user whom you would like to add as OWNER.",
"value": "",
"required": true
},
"STRING_SESSION": {
"description": "A Pyrogram v2 String Session from @StringFatherBot on Telegram.",
"value": "",
"required": true
},
"HEROKU_API_KEY": {
"description": "Your Heroku account's API key",
"value": "",
"required": false
},
"HEROKU_APP_NAME": {
"description": "Your heroku app name",
"value": "",
"required": false
},
"LOGGER_ID": {
"description": "Your Log Group ID, add your bot and promote as an admin with full rights!. Channel ki id mat daal dena bsdk.",
"value": "",
"required": true
}
},
"buildpacks": [
{
"url": "heroku/python"
},
{
"url": "heroku/nodejs"
},
{
"url": "https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git"
}
],
"stack": "container"
}
Loading

0 comments on commit 7ac09f1

Please sign in to comment.