2021-09-13 23:09:26 +00:00
|
|
|
# Copyright (C) 2021 By VeezMusicProject
|
|
|
|
|
2021-09-09 01:18:24 +00:00
|
|
|
from typing import Union, List
|
|
|
|
|
|
|
|
from pyrogram import filters
|
|
|
|
|
2021-09-12 04:37:01 +00:00
|
|
|
from config import Veez
|
2021-09-09 01:18:24 +00:00
|
|
|
|
|
|
|
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]]):
|
2021-09-12 04:37:01 +00:00
|
|
|
return filters.command(commands, Veez.COMMAND_PREFIXES)
|