update @ Sun Dec 15 03:42:26 EET 2024

Signed-off-by: Ari Archer <ari@ari.lt>
This commit is contained in:
Arija A. 2024-12-15 03:42:27 +02:00
parent 6e9e1b3321
commit bdd01ea27e
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: A50D5B4B599AF8A2

View file

@ -889,14 +889,23 @@ def keywords(post: dict[str, typing.Any]) -> int:
def help(_: dict[str, typing.Any]) -> int: def help(_: dict[str, typing.Any]) -> int:
"""print help""" """print help"""
return llog( print(
"\n\n" "\n".join(
+ "\n".join(
f"{cmd} -- {fn.__doc__ or 'no help provided'}" f"{cmd} -- {fn.__doc__ or 'no help provided'}"
for cmd, fn in cmds.commands.items() for cmd, fn in cmds.commands.items()
) )
) )
print(
"""
Custom markdown extensions (besides the well-known ones):
* Titlelink: <#:Your Header Title> - links to a header
* Media embed: <@:e3b0c4429...> - embeds media"""
)
return OK
@cmds.new @cmds.new
def sort(config: dict[str, typing.Any]) -> int: def sort(config: dict[str, typing.Any]) -> int: