Skip to content

Commit

Permalink
Auto Fixes: Code formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
InukaAsith committed May 8, 2021
1 parent a01cde6 commit d869c30
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions DaisyX/modules/_webss.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Ported From William Butcher Bot :- https://github.com/thehamkercat/WilliamButcherBot/edit/dev/wbb/modules/webss.py .
# All Credit to WilliamButcherBot.

import os

from pyrogram import filters

Expand All @@ -19,7 +18,10 @@ async def take_ss(_, message):
m = await message.reply_text("**Taking Screenshot...**")
await m.edit("**Uploading Screenshot...**")
try:
await message.reply_photo(photo=f"https://webshot.amanoteam.com/print?q={url}", caption=f"Screenshot of {url}")
await message.reply_photo(
photo=f"https://webshot.amanoteam.com/print?q={url}",
caption=f"Screenshot of {url}",
)
except TypeError:
await m.edit("No Such Website.")
return
Expand Down

0 comments on commit d869c30

Please sign in to comment.