Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Commit

Permalink
Update bot_forwards.py
Browse files Browse the repository at this point in the history
  • Loading branch information
code-rgb authored Nov 22, 2020
1 parent 7d21ea6 commit e2389fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userge/plugins/bot/bot_forwards.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async def forward_bot(_, message: Message):
& filters.private
& filters.reply
& ~filters.regex(
pattern=f"^(/.*|\{}(?:spoiler|cbutton)(?:$|.*))".format(Config.SUDO_TRIGGER)
pattern="^(/.*|\{}(?:spoiler|cbutton)(?:$|.*))".format(Config.SUDO_TRIGGER)
)
)
async def forward_reply(_, message: Message):
Expand Down

0 comments on commit e2389fa

Please sign in to comment.