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 Aug 7, 2021
1 parent a056901 commit c6cc389
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DaisyX/modules/caption_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.

from pyrogram import filters
from pyrogram.errors import RPCError

from DaisyX.function.pluginhelpers import admins_only, get_text
from DaisyX.services.pyrogram import pbot
from pyrogram.errors import RPCError


@pbot.on_message(
Expand All @@ -34,7 +34,7 @@ async def loltime(client, message):
await lol.edit("reply to any message to edit caption")
reply = message.reply_to_message
try:
await reply.copy(message.chat.id,caption= cap)
await reply.copy(message.chat.id, caption=cap)
await lol.delete()
except RPCError as i:
await lol.edit(i)
Expand Down

0 comments on commit c6cc389

Please sign in to comment.