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