aperezdc / luabot

An XMPP (Jabber) bot written in Lua using the protocol implementation from Verse/Prosody

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Online help/introspection for bot commands

aperezdc opened this issue · comments

It would be desirable that a bot can introspect itself, and provide online help about the features enabled at run-time. Ideally, this would be by adding a help command. Some help topics would be “fixed” and always available, while others would be provided by plugins:

  • help: Displays a short summary on how to list available general help topics, commands, and how to get info for each one of them.
  • help topics?: Lists the available general help topics.
  • help commands?: Lists the available commands.
  • help <topic-name>: Obtains help about a topic.
  • help <command-name>: Obtains help about a command.