video-stream/helpers/filters.py
2021-09-14 06:09:26 +07:00

15 lines
416 B
Python

# Copyright (C) 2021 By VeezMusicProject
from typing import Union, List
from pyrogram import filters
from config import Veez
other_filters = filters.group & ~filters.edited & ~filters.via_bot & ~filters.forwarded
other_filters2 = filters.private & ~filters.edited & ~filters.via_bot & ~filters.forwarded
def command(commands: Union[str, List[str]]):
return filters.command(commands, Veez.COMMAND_PREFIXES)