diff --git a/misskaty/plugins/fun.py b/misskaty/plugins/fun.py index a8a9ed92..9e57dac9 100644 --- a/misskaty/plugins/fun.py +++ b/misskaty/plugins/fun.py @@ -32,8 +32,6 @@ async def draw_meme_text(image_path, text): (left, top, right, bottom) = text_bbox u_width = abs(right - left) u_height = abs(top - bottom) - text_size = (u_width, u_height) - # u_width, u_height = draw.textsize(u_text, font=m_font) draw.text( xy=(((i_width - u_width) / 2) - 1, int((current_h / 640) * i_width)), @@ -81,8 +79,6 @@ async def draw_meme_text(image_path, text): (left, top, right, bottom) = text_bbox u_width = abs(right - left) u_height = abs(top - bottom) - text_size = (u_width, u_height) - # u_width, u_height = draw.textsize(l_text, font=m_font) draw.text( xy=( diff --git a/requirements.txt b/requirements.txt index 60ea25b7..616fca7c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ async_pymongo pymongo python-dotenv requests -bs4 +beautifulsoup4 aiohttp chevron gTTS @@ -18,7 +18,7 @@ psutil python-dateutil telegraph hachoir -Pillow==9.5.0 +Pillow==10.0.0 httpx[http2] git+https://github.com/yasirarism/vcsi git+https://github.com/yasirarism/iytdl @@ -28,4 +28,4 @@ pyrate_limiter cachetools cloudscraper openai -GitPython +GitPython \ No newline at end of file