Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsource-autofix[bot] committed Mar 23, 2021
1 parent 07f6b48 commit ae591b4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion SaitamaRobot/modules/antiflood.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
MessageHandler,
run_async,
)
from telegram.utils.helpers import mention_html, escape_markdown
from telegram.utils.helpers import mention_html
from SaitamaRobot.modules.helper_funcs.string_handling import extract_time
from SaitamaRobot.modules.connection import connected
from SaitamaRobot.modules.helper_funcs.alternate import send_message
Expand Down
2 changes: 1 addition & 1 deletion SaitamaRobot/modules/chatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from coffeehouse.api import API
from coffeehouse.exception import CoffeeHouseError as CFError
from coffeehouse.lydia import LydiaAI
from SaitamaRobot import AI_API_KEY, OWNER_ID, SUPPORT_CHAT, dispatcher
from SaitamaRobot import AI_API_KEY, SUPPORT_CHAT, dispatcher
from SaitamaRobot.modules.helper_funcs.chat_status import user_admin
from SaitamaRobot.modules.helper_funcs.filters import CustomFilters
from SaitamaRobot.modules.log_channel import gloggable
Expand Down
2 changes: 1 addition & 1 deletion SaitamaRobot/modules/sql/approve_sql.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import threading

from sqlalchemy import Column, String, UnicodeText, Integer, func, distinct
from sqlalchemy import Column, String, Integer

from SaitamaRobot.modules.sql import BASE, SESSION

Expand Down
4 changes: 1 addition & 3 deletions SaitamaRobot/modules/warns.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
can_restrict,
is_user_admin,
user_admin,
user_admin_no_reply,
can_delete,
)
user_admin_no_reply)
from SaitamaRobot.modules.helper_funcs.extraction import (
extract_text,
extract_user,
Expand Down

0 comments on commit ae591b4

Please sign in to comment.