From 24d1300731e0a8c425efc2135e9c75c1bc9c67e5 Mon Sep 17 00:00:00 2001 From: wulan17 Date: Mon, 8 Dec 2025 03:24:43 +0700 Subject: [PATCH] pyrofork: Update domain Signed-off-by: wulan17 --- README.md | 6 +++--- compiler/api/template/type.txt | 2 +- docs/source/conf.py | 2 +- docs/source/start/examples/bot_keyboards.rst | 2 +- docs/source/start/examples/inline_queries.rst | 8 ++++---- docs/source/start/examples/welcome_bot.rst | 2 +- pyproject.toml | 2 +- pyrogram/client.py | 2 +- pyrogram/crypto/aes.py | 2 +- pyrogram/methods/messages/send_message.py | 4 ++-- pyrogram/methods/users/update_profile.py | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index c8c4d6a0..0ac1f970 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Homepage • - + Documentation • @@ -44,7 +44,7 @@ async def hello(client, message): app.run() ``` -**Pyrofork** is a modern, elegant and asynchronous [MTProto API](https://pyrofork.wulan17.top/main/topics/mtproto-vs-botapi) +**Pyrofork** is a modern, elegant and asynchronous [MTProto API](https://pyrofork.wulan17.dev/main/topics/mtproto-vs-botapi) framework. It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot identity (bot API alternative) using Python. @@ -72,6 +72,6 @@ pip3 install pyrofork ### Resources -- Check out the docs at https://pyrofork.wulan17.top to learn more about Pyrofork, get started right +- Check out the docs at https://pyrofork.wulan17.dev to learn more about Pyrofork, get started right away and discover more in-depth material for building your client applications. - Join the official group at https://t.me/MayuriChan_Chat and stay tuned for news, updates and announcements. diff --git a/compiler/api/template/type.txt b/compiler/api/template/type.txt index c8ddbba5..414a693e 100644 --- a/compiler/api/template/type.txt +++ b/compiler/api/template/type.txt @@ -20,4 +20,4 @@ class {name}: # type: ignore raise TypeError("Base types can only be used for type checking purposes: " "you tried to use a base type instance as argument, " "but you need to instantiate one of its constructors instead. " - "More info: https://pyrofork.wulan17.top/telegram/base/{doc_name}") + "More info: https://pyrofork.wulan17.dev/telegram/base/{doc_name}") diff --git a/docs/source/conf.py b/docs/source/conf.py index 946989f3..93c34fb6 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -73,7 +73,7 @@ html_theme_options = { "repo": "fontawesome/brands/github", "edit": "material/file-edit-outline", }, - "site_url": "https://pyrofork.wulan17.top/", + "site_url": "https://pyrofork.wulan17.dev/", "repo_url": "https://github.com/Mayuri-Chan/pyrofork/", "repo_name": "pyrofork", "globaltoc_collapse": True, diff --git a/docs/source/start/examples/bot_keyboards.rst b/docs/source/start/examples/bot_keyboards.rst index cd06b978..fe971b1a 100644 --- a/docs/source/start/examples/bot_keyboards.rst +++ b/docs/source/start/examples/bot_keyboards.rst @@ -47,7 +47,7 @@ like send_audio(), send_document(), send_location(), etc... ), InlineKeyboardButton( # Opens a web URL "URL", - url="https://pyrofork.wulan17.top" + url="https://pyrofork.wulan17.dev" ), ], [ # Second row diff --git a/docs/source/start/examples/inline_queries.rst b/docs/source/start/examples/inline_queries.rst index 45f9627e..7b8e2e65 100644 --- a/docs/source/start/examples/inline_queries.rst +++ b/docs/source/start/examples/inline_queries.rst @@ -24,13 +24,13 @@ It uses the @on_inline_query decorator to register an InlineQueryHandler. input_message_content=InputTextMessageContent( "Here's how to install **Pyrofork**" ), - url="https://pyrofork.wulan17.top/intro/install", + url="https://pyrofork.wulan17.dev/intro/install", description="How to install Pyrofork", reply_markup=InlineKeyboardMarkup( [ [InlineKeyboardButton( "Open website", - url="https://pyrofork.wulan17.top/intro/install" + url="https://pyrofork.wulan17.dev/intro/install" )] ] ) @@ -40,13 +40,13 @@ It uses the @on_inline_query decorator to register an InlineQueryHandler. input_message_content=InputTextMessageContent( "Here's how to use **Pyrofork**" ), - url="https://pyrofork.wulan17.top/start/invoking", + url="https://pyrofork.wulan17.dev/start/invoking", description="How to use Pyrofork", reply_markup=InlineKeyboardMarkup( [ [InlineKeyboardButton( "Open website", - url="https://pyrofork.wulan17.top/start/invoking" + url="https://pyrofork.wulan17.dev/start/invoking" )] ] ) diff --git a/docs/source/start/examples/welcome_bot.rst b/docs/source/start/examples/welcome_bot.rst index df9a8d88..a8fcafca 100644 --- a/docs/source/start/examples/welcome_bot.rst +++ b/docs/source/start/examples/welcome_bot.rst @@ -11,7 +11,7 @@ to make it only work for specific messages in a specific chat. # Target chat. Can also be a list of multiple chat ids/usernames TARGET = -100123456789 # Welcome message template - MESSAGE = "{} Welcome to [Pyrofork](https://pyrofork.wulan17.top/)'s group chat {}!" + MESSAGE = "{} Welcome to [Pyrofork](https://pyrofork.wulan17.dev/)'s group chat {}!" app = Client("my_account") diff --git a/pyproject.toml b/pyproject.toml index bb4dc4cd..6f4d4962 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,7 @@ Homepage = "https://github.com/Mayuri-Chan" Tracker = "https://github.com/Mayuri-Chan/pyrofork/issues" Community = "https://t.me/MayuriChan_Chat" Source = "https://github.com/Mayuri-Chan/pyrofork" -Documentation = "https://pyrofork.wulan17.top" +Documentation = "https://pyrofork.wulan17.dev" [build-system] requires = ["hatchling"] diff --git a/pyrogram/client.py b/pyrogram/client.py index dfb3e07f..ffc3b433 100644 --- a/pyrogram/client.py +++ b/pyrogram/client.py @@ -825,7 +825,7 @@ class Client(Methods): if session_empty: if not self.api_id or not self.api_hash: raise AttributeError("The API key is required for new authorizations. " - "More info: https://pyrofork.wulan17.top/main/start/auth") + "More info: https://pyrofork.wulan17.dev/main/start/auth") await self.storage.api_id(self.api_id) diff --git a/pyrogram/crypto/aes.py b/pyrogram/crypto/aes.py index a324188c..eafe4453 100644 --- a/pyrogram/crypto/aes.py +++ b/pyrogram/crypto/aes.py @@ -55,7 +55,7 @@ except ImportError: log.warning( "TgCrypto is missing! " "Pyrogram will work the same, but at a much slower speed. " - "More info: https://pyrofork.wulan17.top/main/topics/speedups" + "More info: https://pyrofork.wulan17.dev/main/topics/speedups" ) diff --git a/pyrogram/methods/messages/send_message.py b/pyrogram/methods/messages/send_message.py index dd12e323..3581f233 100644 --- a/pyrogram/methods/messages/send_message.py +++ b/pyrogram/methods/messages/send_message.py @@ -143,7 +143,7 @@ class SendMessage: await app.send_message("me", "Message sent with **Pyrogram**!") # Disable web page previews - await app.send_message("me", "https://pyrofork.wulan17.top", + await app.send_message("me", "https://pyrofork.wulan17.dev", disable_web_page_preview=True) # Reply to a message using its id @@ -167,7 +167,7 @@ class SendMessage: reply_markup=InlineKeyboardMarkup( [ [InlineKeyboardButton("Data", callback_data="callback_data")], - [InlineKeyboardButton("Docs", url="https://pyrofork.wulan17.top")] + [InlineKeyboardButton("Docs", url="https://pyrofork.wulan17.dev")] ])) """ diff --git a/pyrogram/methods/users/update_profile.py b/pyrogram/methods/users/update_profile.py index b41169e6..0fc40558 100644 --- a/pyrogram/methods/users/update_profile.py +++ b/pyrogram/methods/users/update_profile.py @@ -56,7 +56,7 @@ class UpdateProfile: await app.update_profile(first_name="Pyrofork") # Update first name and bio - await app.update_profile(first_name="Pyrofork", bio="https://pyrofork.wulan17.top/") + await app.update_profile(first_name="Pyrofork", bio="https://pyrofork.wulan17.dev/") # Remove the last name await app.update_profile(last_name="")