mirror of
https://github.com/wah-su/stickerbridge.git
synced 2025-04-17 14:54:40 +00:00
Cleanup
This commit is contained in:
parent
9b90eb14ff
commit
80bea7e86f
2 changed files with 2 additions and 5 deletions
|
@ -1,12 +1,9 @@
|
||||||
from nio import AsyncClient, MatrixRoom
|
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 matrix_reuploader import MatrixReuploader
|
||||||
from sticker_types import MatrixStickerset
|
|
||||||
from telegram_exporter import TelegramExporter
|
from telegram_exporter import TelegramExporter
|
||||||
|
|
||||||
import tempfile
|
|
||||||
|
|
||||||
|
|
||||||
class Command:
|
class Command:
|
||||||
def __init__(self, client: AsyncClient, room: MatrixRoom, command: str, tg_exporter: TelegramExporter):
|
def __init__(self, client: AsyncClient, room: MatrixRoom, command: str, tg_exporter: TelegramExporter):
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import logging
|
import logging
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
from nio import AsyncClient, MatrixRoom, RoomMessageText, InviteEvent, InviteMemberEvent
|
from nio import AsyncClient, MatrixRoom, RoomMessageText, InviteMemberEvent
|
||||||
|
|
||||||
from bot_commands import Command
|
from bot_commands import Command
|
||||||
from chat_functions import send_text_to_room
|
from chat_functions import send_text_to_room
|
||||||
|
|
Loading…
Add table
Reference in a new issue