refactor: remove unused imports
An object has been imported but is not used anywhere in the file. It should either be used or the import should be removed.
This commit is contained in:
committed by
Abhi
parent
a16c7b8d56
commit
b3c86802c4
@@ -19,11 +19,11 @@ import asyncio
|
||||
from datetime import datetime
|
||||
|
||||
import humanize
|
||||
from pyrogram import Client, enums, filters
|
||||
from pyrogram import Client, filters
|
||||
from pyrogram.types import Message
|
||||
|
||||
from utils.misc import modules_help, prefix
|
||||
from utils.scripts import import_library, ReplyCheck
|
||||
from utils.scripts import ReplyCheck
|
||||
|
||||
# Variables
|
||||
AFK = False
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
from pyrogram import Client, ContinuePropagation, enums, errors, filters
|
||||
from pyrogram import Client, ContinuePropagation, errors, filters
|
||||
from pyrogram.types import (
|
||||
InputMediaAudio,
|
||||
InputMediaDocument,
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
from pyrogram import Client
|
||||
from pyrogram import enums as enums
|
||||
from pyrogram import filters
|
||||
from pyrogram.types import Message
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ import hashlib
|
||||
import os
|
||||
|
||||
import requests
|
||||
from pyrogram import Client, enums, filters
|
||||
from pyrogram import Client, filters
|
||||
from pyrogram.types import Message
|
||||
|
||||
from utils.misc import modules_help, prefix
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
from pyrogram import Client, enums, errors, filters
|
||||
from pyrogram import Client, errors, filters
|
||||
from pyrogram.types import Message
|
||||
|
||||
from utils.db import db
|
||||
|
||||
@@ -29,7 +29,6 @@ from pyrogram.types import Message
|
||||
|
||||
from utils.db import db
|
||||
from utils.misc import modules_help, prefix
|
||||
from textwrap import dedent
|
||||
|
||||
auth_hashes = db.get("core.sessionkiller", "auths_hashes", [])
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import base64
|
||||
import os
|
||||
from io import BytesIO
|
||||
|
||||
import requests
|
||||
|
||||
@@ -2,7 +2,7 @@ import re
|
||||
from datetime import datetime, timedelta
|
||||
from typing import Dict, Union
|
||||
|
||||
from pyrogram import Client, enums
|
||||
from pyrogram import Client
|
||||
from pyrogram.errors import (
|
||||
ChatAdminRequired,
|
||||
PeerIdInvalid,
|
||||
|
||||
Reference in New Issue
Block a user