Skip to content

Commit

Permalink
add missing requirements
Browse files Browse the repository at this point in the history
and clean up white space
  • Loading branch information
Kry9toN committed Apr 2, 2021
1 parent 13aed0d commit 46ed3f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 2 additions & 5 deletions krypton/__main__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import asyncio
import os
import time
from Python_ARQ import ARQ
import youtube_dl

from pyrogram import Client, filters, types
from pyrogram.types import Message
from pytgcalls import GroupCall
from Python_ARQ import ARQ

from .functions import (
transcode,
Expand Down Expand Up @@ -114,7 +114,6 @@ async def skip(_, message):
await message.reply_text("__**Skipped!**__")
await play()


@app.on_message(filters.text & cmd_filter('queue'))
async def queue_list(_, message):
if len(queue) != 0:
Expand All @@ -129,7 +128,6 @@ async def queue_list(_, message):

# Queue handler


async def play():
global queue, playing
while not playing:
Expand Down Expand Up @@ -172,7 +170,6 @@ async def play():

# Deezer----------------------------------------------------------------------------------------


async def deezer(requested_by, query):
global playing
m = await send(f"__**Searching for {query} on Deezer.**__")
Expand Down Expand Up @@ -288,5 +285,5 @@ async def send(text):
m = await app.send_message(sudo_chat_id, text=text, disable_web_page_preview=True)
return m

print('[INFO] Bot is running...')
print('[INFO] Bot is running...\n')
app.run()
6 changes: 5 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
aiofiles
ffmpeg-python
pyrogram
Pillow
pytgcalls
python-arq
Pyrogram
TgCrypto
youtube_dl

0 comments on commit 46ed3f3

Please sign in to comment.