Skip to content

Commit

Permalink
Minor Fixes !!!
Browse files Browse the repository at this point in the history
  • Loading branch information
KSKOP69 committed Nov 4, 2024
1 parent aec12a7 commit 03f4e38
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
5 changes: 0 additions & 5 deletions AlexaMusic/plugins/play/play.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@ async def play_commnd(
url,
fplay,
):
if not await is_served_user(message.from_user.id):
await message.reply_text(
text="😢 ᴅᴇᴀʀ ʏᴏᴜ ᴀʀᴇ ɴᴏᴛ ᴀ ᴠᴇʀɪғɪᴇᴅ ᴀᴛ ᴀʟᴇxᴀ ᴅᴀᴛᴀʙᴀsᴇ.\n☔ ᴘʟᴇᴀsᴇ ᴜsᴇ /verify ᴛᴏ ᴠᴇʀɪғʏ ʏᴏᴜʀsᴇʟғ ᴀᴛ ᴀʟᴇxᴀ ᴅᴀᴛᴀʙᴀsᴇ.",
)
return
mystic = await message.reply_text(
_["play_2"].format(channel) if channel else _["play_1"]
)
Expand Down
14 changes: 8 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
FROM python:3.9-slim-buster
FROM python:3.9-buster

RUN apt-get update -y && apt-get upgrade -y \
RUN apt-get update -y \
&& apt-get install -y --no-install-recommends ffmpeg \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y git gcc build-essential \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /app
COPY . /app

RUN pip3 install --upgrade pip
RUN pip3 install --no-cache-dir -U -r requirements.txt
COPY requirements.txt .

RUN pip install --no-cache-dir -U pip \
&& pip install --no-cache-dir -U -r requirements.txt

COPY . .

CMD ["bash", "start"]
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
aiofiles
aiohttp
aiohttp>=3.9.5
beautifulsoup4
dnspython
dnspython==2.2.1
ffmpeg-python
gitpython
hachoir
Expand All @@ -13,13 +13,13 @@ pillow
psutil
py-tgcalls==2.0.2
pykeyboard
pyrotgfork>=2.1.33.12
pyrotgfork>=2.1.33.13
python-dotenv
pyyaml
requests
speedtest-cli
spotipy
PyTgCrypto
unidecode
yt-dlp
yt-dlp==2023.10.13
youtube-search-python
2 changes: 1 addition & 1 deletion runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.12.7
python-3.9.7

0 comments on commit 03f4e38

Please sign in to comment.