mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +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:
|
else:
|
||||||
docstring += f"Telegram API method.\n\n"
|
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:
|
if docstring_args:
|
||||||
docstring += " Parameters:\n " + "\n ".join(docstring_args)
|
docstring += " Parameters:\n " + "\n ".join(docstring_args)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue