mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Remove "0x" prefix from IDs in the documentation
This commit is contained in:
parent
32b3452e76
commit
295060d190
1 changed files with 1 additions and 1 deletions
|
|
@ -378,7 +378,7 @@ def start(format: bool = False):
|
|||
else:
|
||||
docstring += f"Telegram API method.\n\n"
|
||||
|
||||
docstring += f" Details:\n - Layer: ``{layer}``\n - ID: ``{c.id}``\n\n"
|
||||
docstring += f" Details:\n - Layer: ``{layer}``\n - ID: ``{c.id[2:].upper()}``\n\n"
|
||||
|
||||
if docstring_args:
|
||||
docstring += " Parameters:\n " + "\n ".join(docstring_args)
|
||||
|
|
|
|||
Loading…
Reference in a new issue