Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
X-Gorn committed Jun 9, 2024
1 parent f6fe9ef commit d00993d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bot/plugins/echo.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
pattern=r'(https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&//=]*))(.*)?')


@Client.on_message(filters.private & filters.regex(pattern=URL_REGEX) & ~filters.command(['thumbnail', 'caption']) Filter.auth_users)
@Client.on_message(filters.private & filters.regex(pattern=URL_REGEX) & ~filters.command(['thumbnail', 'caption']) & Filter.auth_users)
async def echo_http(bot: Client, update: Message):
if client.database:
user = await client.database.xurluploader.users.find_one({'id': update.from_user.id})
Expand Down

0 comments on commit d00993d

Please sign in to comment.