diff --git a/userbot/plugins/autopic.py b/userbot/plugins/autopic.py index fbdc3504..aac24fe7 100644 --- a/userbot/plugins/autopic.py +++ b/userbot/plugins/autopic.py @@ -21,7 +21,7 @@ async def autopic(event): shutil.copy(downloaded_file_name, photo) im = Image.open(photo) file_test = im.rotate(counter, expand=False).save(photo, "PNG") - current_time = datetime.now().strftime("TeleBot\n⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡ \n Time: %H:%M \n Date: %d.%m.%y \n⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡") + current_time = datetime.now().strftime(" TeleBot\n⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡ \n Time: %H:%M \n Date: %d.%m.%y \n⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡") img = Image.open(photo) drawn_text = ImageDraw.Draw(img) fnt = ImageFont.truetype(FONT_FILE_TO_USE, 30)