Revert "Copyright (C) 2021 By VeezMusicProject"
This reverts commit c345e5a96c
.
This commit is contained in:
parent
c345e5a96c
commit
071f8b15e1
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
*.session
|
*.session
|
||||||
*.session-journal
|
*.session-journal
|
||||||
.env
|
.env
|
||||||
|
2
app.json
2
app.json
@ -1,5 +1,3 @@
|
|||||||
// Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "Veez Video Stream Bot",
|
"name": "Veez Video Stream Bot",
|
||||||
"description": "bot to stream video on telegram video chat, powered by pytgcalls and pyrogram",
|
"description": "bot to stream video on telegram video chat, powered by pytgcalls and pyrogram",
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
# ===========
|
# ===========
|
||||||
# running bot
|
# running bot
|
||||||
# ===========
|
# ===========
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
from pyrogram import Client, filters
|
from pyrogram import Client, filters
|
||||||
from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton, CallbackQuery
|
from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton, CallbackQuery
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from pyrogram import Client, filters
|
from pyrogram import Client, filters
|
||||||
from pyrogram.types import Message
|
from pyrogram.types import Message
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from time import time
|
from time import time
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import asyncio
|
import asyncio
|
||||||
import subprocess
|
import subprocess
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
import logging
|
||||||
|
|
||||||
|
|
||||||
from pyrogram import Client as app
|
from pyrogram import Client as app
|
||||||
from pyrogram.types import Message
|
from pyrogram.types import Message
|
||||||
@ -7,6 +6,12 @@ from youtube_search import YoutubeSearch
|
|||||||
from config import Veez
|
from config import Veez
|
||||||
from helpers.filters import command
|
from helpers.filters import command
|
||||||
|
|
||||||
|
# logging
|
||||||
|
# logging.basicConfig(level=logging.DEBUG, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s")
|
||||||
|
# logger = logging.getLogger(__name__)
|
||||||
|
# logging.getLogger("pyrogram").setLevel(logging.WARNING)
|
||||||
|
|
||||||
|
|
||||||
@app.on_message(command(["search", f"search@{Veez.BOT_USERNAME}"]))
|
@app.on_message(command(["search", f"search@{Veez.BOT_USERNAME}"]))
|
||||||
async def ytsearch(_, message: Message):
|
async def ytsearch(_, message: Message):
|
||||||
m = await message.reply_text("🔎 **searching url...**")
|
m = await message.reply_text("🔎 **searching url...**")
|
||||||
|
2
cache/__init__.py
vendored
2
cache/__init__.py
vendored
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
from cache.admins import admins, get, set
|
from cache.admins import admins, get, set
|
||||||
|
|
||||||
__all__ = ["admins", "get", "set"]
|
__all__ = ["admins", "get", "set"]
|
||||||
|
2
cache/admins.py
vendored
2
cache/admins.py
vendored
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
from typing import Dict, List
|
from typing import Dict, List
|
||||||
from config import Veez
|
from config import Veez
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from os import path, getenv
|
from os import path, getenv
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
version: '3.4'
|
version: '3.4'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
import cache.admins
|
import cache.admins
|
||||||
from typing import List
|
from typing import List
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
from typing import Callable
|
from typing import Callable
|
||||||
|
|
||||||
from pyrogram import Client
|
from pyrogram import Client
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
class DurationLimitError(Exception):
|
class DurationLimitError(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
from typing import Union, List
|
from typing import Union, List
|
||||||
|
|
||||||
from pyrogram import filters
|
from pyrogram import filters
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
from youtube_dl import YoutubeDL
|
from youtube_dl import YoutubeDL
|
||||||
from youtube_dl.utils import ExtractorError
|
from youtube_dl.utils import ExtractorError
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# Copyright (C) 2021 By VeezMusicProject
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
worker: Dockerfile
|
worker: Dockerfile
|
||||||
|
Loading…
Reference in New Issue
Block a user