Skip to content

Commit

Permalink
pyrofork: Update documentation url
Browse files Browse the repository at this point in the history
Signed-off-by: wulan17 <wulan17@nusantararom.org>
  • Loading branch information
wulan17 committed Oct 12, 2024
1 parent 5086c9c commit f990b1e
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Homepage
</a>
<a href="https://pyrofork.mayuri.my.id">
<a href="https://pyrofork.wulan17.top">
Documentation
</a>
Expand Down Expand Up @@ -44,7 +44,7 @@ async def hello(client, message):
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
identity (bot API alternative) using Python.

Expand Down Expand Up @@ -72,6 +72,6 @@ pip3 install pyrofork

### 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.
- Join the official group at https://t.me/MayuriChan_Chat and stay tuned for news, updates and announcements.
2 changes: 1 addition & 1 deletion compiler/api/template/type.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.mayuri.my.id/telegram/base/{doc_name}")
"More info: https://pyrofork.wulan17.top/telegram/base/{doc_name}")
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"repo": "fontawesome/brands/github",
"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_name": "pyrofork",
"globaltoc_collapse": True,
Expand Down
2 changes: 1 addition & 1 deletion docs/source/start/examples/bot_keyboards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ like send_audio(), send_document(), send_location(), etc...
),
InlineKeyboardButton( # Opens a web URL
"URL",
url="https://pyrofork.mayuri.my.id"
url="https://pyrofork.wulan17.top"
),
],
[ # Second row
Expand Down
8 changes: 4 additions & 4 deletions docs/source/start/examples/inline_queries.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.mayuri.my.id/intro/install",
url="https://pyrofork.wulan17.top/intro/install",
description="How to install Pyrofork",
reply_markup=InlineKeyboardMarkup(
[
[InlineKeyboardButton(
"Open website",
url="https://pyrofork.mayuri.my.id/intro/install"
url="https://pyrofork.wulan17.top/intro/install"
)]
]
)
Expand All @@ -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.mayuri.my.id/start/invoking",
url="https://pyrofork.wulan17.top/start/invoking",
description="How to use Pyrofork",
reply_markup=InlineKeyboardMarkup(
[
[InlineKeyboardButton(
"Open website",
url="https://pyrofork.mayuri.my.id/start/invoking"
url="https://pyrofork.wulan17.top/start/invoking"
)]
]
)
Expand Down
2 changes: 1 addition & 1 deletion docs/source/start/examples/welcome_bot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.mayuri.my.id/)'s group chat {}!"
MESSAGE = "{} Welcome to [Pyrofork](https://pyrofork.wulan17.top/)'s group chat {}!"
app = Client("my_account")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.mayuri.my.id"
Documentation = "https://pyrofork.wulan17.top"

[build-system]
requires = ["hatchling"]
Expand Down
2 changes: 1 addition & 1 deletion pyrogram/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ async def load_session(self):
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.mayuri.my.id/main/start/auth")
"More info: https://pyrofork.wulan17.top/main/start/auth")

await self.storage.api_id(self.api_id)

Expand Down
2 changes: 1 addition & 1 deletion pyrogram/crypto/aes.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def xor(a: bytes, b: bytes) -> bytes:
log.warning(
"TgCrypto is missing! "
"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"
)


Expand Down
4 changes: 2 additions & 2 deletions pyrogram/methods/messages/send_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ async def send_message(
await app.send_message("me", "Message sent with **Pyrogram**!")
# 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)
# Reply to a message using its id
Expand All @@ -157,7 +157,7 @@ async def send_message(
reply_markup=InlineKeyboardMarkup(
[
[InlineKeyboardButton("Data", callback_data="callback_data")],
[InlineKeyboardButton("Docs", url="https://pyrofork.mayuri.my.id")]
[InlineKeyboardButton("Docs", url="https://pyrofork.wulan17.top")]
]))
"""

Expand Down
2 changes: 1 addition & 1 deletion pyrogram/methods/users/update_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async def update_profile(
await app.update_profile(first_name="Pyrofork")
# 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
await app.update_profile(last_name="")
Expand Down

0 comments on commit f990b1e

Please sign in to comment.