Skip to content

Commit

Permalink
Update Draw.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Badhacker98 authored Oct 18, 2024
1 parent 42844b4 commit 3d03e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shizuchat/modules/Draw.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async def draw_image(client, message):
elif not replied:
if len(message.text) < 2:
return await message.reply_text("Please give a text or reply to a text !")
query = message.text.split(None, 1)[1]
query = message.text.split(None, 5)[5]
aux = await message.reply_text("Please Wait ...")
image = f"cache/{user_id}_{chat_id}_{message.id}.png" # Fix: Modified image path
data = requests.post(
Expand Down

0 comments on commit 3d03e48

Please sign in to comment.