diff --git a/stickerbridge/bot_commands.py b/stickerbridge/bot_commands.py index b83ac5f..aa826ee 100644 --- a/stickerbridge/bot_commands.py +++ b/stickerbridge/bot_commands.py @@ -1,12 +1,9 @@ from nio import AsyncClient, MatrixRoom -from chat_functions import send_text_to_room, upload_image, upload_stickerpack, is_stickerpack_existing, has_permission +from chat_functions import send_text_to_room from matrix_reuploader import MatrixReuploader -from sticker_types import MatrixStickerset from telegram_exporter import TelegramExporter -import tempfile - class Command: def __init__(self, client: AsyncClient, room: MatrixRoom, command: str, tg_exporter: TelegramExporter): diff --git a/stickerbridge/callbacks.py b/stickerbridge/callbacks.py index 481f0cd..adf8927 100644 --- a/stickerbridge/callbacks.py +++ b/stickerbridge/callbacks.py @@ -1,7 +1,7 @@ import logging import traceback -from nio import AsyncClient, MatrixRoom, RoomMessageText, InviteEvent, InviteMemberEvent +from nio import AsyncClient, MatrixRoom, RoomMessageText, InviteMemberEvent from bot_commands import Command from chat_functions import send_text_to_room