Removed old imports
This commit is contained in:
@@ -4,7 +4,6 @@ from traceback import print_exc
|
||||
from app import app, isAnAdmin
|
||||
from typing import Any, List, Literal, Union
|
||||
from pyrogram.types import User, ChatMember, ChatPrivileges, Chat, Message, Photo, Video, Document, Animation, Voice, ForceReply, ReplyKeyboardMarkup
|
||||
from pyrogram.client import Client
|
||||
from pyrogram.errors import bad_request_400
|
||||
from dateutil.relativedelta import relativedelta
|
||||
from modules.database import col_tmp, col_users, col_context, col_warnings, col_applications, col_sponsorships, col_messages
|
||||
@@ -214,7 +213,7 @@ class HoloUser():
|
||||
"""Set label in destination group
|
||||
|
||||
### Args:
|
||||
* app (`Client`): Pyrogram client
|
||||
* chat (`Chat`): Telegram chat
|
||||
* label (`str`): Label you want to set
|
||||
"""
|
||||
self.label = label
|
||||
@@ -227,7 +226,7 @@ class HoloUser():
|
||||
"""Reset label in destination group
|
||||
|
||||
### Args:
|
||||
* app (`Client`): Pyrogram client
|
||||
* chat (`Chat`): Telegram chat
|
||||
"""
|
||||
self.label = ""
|
||||
self.set("label", "")
|
||||
|
Reference in New Issue
Block a user