pyrofork: Update documentation url

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
wulan17 2024-10-13 01:51:49 +07:00
parent 5086c9ccc3
commit f990b1e7f9
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5
11 changed files with 17 additions and 17 deletions

View file

@ -9,7 +9,7 @@
Homepage Homepage
</a> </a>
<a href="https://pyrofork.mayuri.my.id"> <a href="https://pyrofork.wulan17.top">
Documentation Documentation
</a> </a>
@ -44,7 +44,7 @@ async def hello(client, message):
app.run() app.run()
``` ```
**Pyrofork** is a modern, elegant and asynchronous [MTProto API](https://pyrofork.mayuri.my.id/main/topics/mtproto-vs-botapi) **Pyrofork** is a modern, elegant and asynchronous [MTProto API](https://pyrofork.wulan17.top/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 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. identity (bot API alternative) using Python.
@ -72,6 +72,6 @@ pip3 install pyrofork
### Resources ### Resources
- Check out the docs at https://pyrofork.mayuri.my.id to learn more about Pyrofork, get started right - Check out the docs at https://pyrofork.wulan17.top to learn more about Pyrofork, get started right
away and discover more in-depth material for building your client applications. 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. - Join the official group at https://t.me/MayuriChan_Chat and stay tuned for news, updates and announcements.

View file

@ -20,4 +20,4 @@ class {name}: # type: ignore
raise TypeError("Base types can only be used for type checking purposes: " raise TypeError("Base types can only be used for type checking purposes: "
"you tried to use a base type instance as argument, " "you tried to use a base type instance as argument, "
"but you need to instantiate one of its constructors instead. " "but you need to instantiate one of its constructors instead. "
"More info: https://pyrofork.mayuri.my.id/telegram/base/{doc_name}") "More info: https://pyrofork.wulan17.top/telegram/base/{doc_name}")

View file

@ -73,7 +73,7 @@ html_theme_options = {
"repo": "fontawesome/brands/github", "repo": "fontawesome/brands/github",
"edit": "material/file-edit-outline", "edit": "material/file-edit-outline",
}, },
"site_url": "https://pyrofork.mayuri.my.id/", "site_url": "https://pyrofork.wulan17.top/",
"repo_url": "https://github.com/Mayuri-Chan/pyrofork/", "repo_url": "https://github.com/Mayuri-Chan/pyrofork/",
"repo_name": "pyrofork", "repo_name": "pyrofork",
"globaltoc_collapse": True, "globaltoc_collapse": True,

View file

@ -47,7 +47,7 @@ like send_audio(), send_document(), send_location(), etc...
), ),
InlineKeyboardButton( # Opens a web URL InlineKeyboardButton( # Opens a web URL
"URL", "URL",
url="https://pyrofork.mayuri.my.id" url="https://pyrofork.wulan17.top"
), ),
], ],
[ # Second row [ # Second row

View file

@ -24,13 +24,13 @@ It uses the @on_inline_query decorator to register an InlineQueryHandler.
input_message_content=InputTextMessageContent( input_message_content=InputTextMessageContent(
"Here's how to install **Pyrofork**" "Here's how to install **Pyrofork**"
), ),
url="https://pyrofork.mayuri.my.id/intro/install", url="https://pyrofork.wulan17.top/intro/install",
description="How to install Pyrofork", description="How to install Pyrofork",
reply_markup=InlineKeyboardMarkup( reply_markup=InlineKeyboardMarkup(
[ [
[InlineKeyboardButton( [InlineKeyboardButton(
"Open website", "Open website",
url="https://pyrofork.mayuri.my.id/intro/install" url="https://pyrofork.wulan17.top/intro/install"
)] )]
] ]
) )
@ -40,13 +40,13 @@ It uses the @on_inline_query decorator to register an InlineQueryHandler.
input_message_content=InputTextMessageContent( input_message_content=InputTextMessageContent(
"Here's how to use **Pyrofork**" "Here's how to use **Pyrofork**"
), ),
url="https://pyrofork.mayuri.my.id/start/invoking", url="https://pyrofork.wulan17.top/start/invoking",
description="How to use Pyrofork", description="How to use Pyrofork",
reply_markup=InlineKeyboardMarkup( reply_markup=InlineKeyboardMarkup(
[ [
[InlineKeyboardButton( [InlineKeyboardButton(
"Open website", "Open website",
url="https://pyrofork.mayuri.my.id/start/invoking" url="https://pyrofork.wulan17.top/start/invoking"
)] )]
] ]
) )

View file

@ -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 chat. Can also be a list of multiple chat ids/usernames
TARGET = -100123456789 TARGET = -100123456789
# Welcome message template # Welcome message template
MESSAGE = "{} Welcome to [Pyrofork](https://pyrofork.mayuri.my.id/)'s group chat {}!" MESSAGE = "{} Welcome to [Pyrofork](https://pyrofork.wulan17.top/)'s group chat {}!"
app = Client("my_account") app = Client("my_account")

View file

@ -43,7 +43,7 @@ Homepage = "https://github.com/Mayuri-Chan"
Tracker = "https://github.com/Mayuri-Chan/pyrofork/issues" Tracker = "https://github.com/Mayuri-Chan/pyrofork/issues"
Community = "https://t.me/MayuriChan_Chat" Community = "https://t.me/MayuriChan_Chat"
Source = "https://github.com/Mayuri-Chan/pyrofork" Source = "https://github.com/Mayuri-Chan/pyrofork"
Documentation = "https://pyrofork.mayuri.my.id" Documentation = "https://pyrofork.wulan17.top"
[build-system] [build-system]
requires = ["hatchling"] requires = ["hatchling"]

View file

@ -810,7 +810,7 @@ class Client(Methods):
if session_empty: if session_empty:
if not self.api_id or not self.api_hash: if not self.api_id or not self.api_hash:
raise AttributeError("The API key is required for new authorizations. " raise AttributeError("The API key is required for new authorizations. "
"More info: https://pyrofork.mayuri.my.id/main/start/auth") "More info: https://pyrofork.wulan17.top/main/start/auth")
await self.storage.api_id(self.api_id) await self.storage.api_id(self.api_id)

View file

@ -55,7 +55,7 @@ except ImportError:
log.warning( log.warning(
"TgCrypto is missing! " "TgCrypto is missing! "
"Pyrogram will work the same, but at a much slower speed. " "Pyrogram will work the same, but at a much slower speed. "
"More info: https://pyrofork.mayuri.my.id/main/topics/speedups" "More info: https://pyrofork.wulan17.top/main/topics/speedups"
) )

View file

@ -133,7 +133,7 @@ class SendMessage:
await app.send_message("me", "Message sent with **Pyrogram**!") await app.send_message("me", "Message sent with **Pyrogram**!")
# Disable web page previews # Disable web page previews
await app.send_message("me", "https://pyrofork.mayuri.my.id", await app.send_message("me", "https://pyrofork.wulan17.top",
disable_web_page_preview=True) disable_web_page_preview=True)
# Reply to a message using its id # Reply to a message using its id
@ -157,7 +157,7 @@ class SendMessage:
reply_markup=InlineKeyboardMarkup( reply_markup=InlineKeyboardMarkup(
[ [
[InlineKeyboardButton("Data", callback_data="callback_data")], [InlineKeyboardButton("Data", callback_data="callback_data")],
[InlineKeyboardButton("Docs", url="https://pyrofork.mayuri.my.id")] [InlineKeyboardButton("Docs", url="https://pyrofork.wulan17.top")]
])) ]))
""" """

View file

@ -56,7 +56,7 @@ class UpdateProfile:
await app.update_profile(first_name="Pyrofork") await app.update_profile(first_name="Pyrofork")
# Update first name and bio # Update first name and bio
await app.update_profile(first_name="Pyrofork", bio="https://pyrofork.mayuri.my.id/") await app.update_profile(first_name="Pyrofork", bio="https://pyrofork.wulan17.top/")
# Remove the last name # Remove the last name
await app.update_profile(last_name="") await app.update_profile(last_name="")