Skip to content

Commit

Permalink
Update autopic.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xditya authored May 20, 2020
1 parent 9df9399 commit 287d724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userbot/plugins/autopic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 287d724

Please sign in to comment.