diff --git a/src/commands.js b/src/commands.js index 5a5ef6f3..f39cedd5 100644 --- a/src/commands.js +++ b/src/commands.js @@ -38,7 +38,18 @@ function run(sender, command, args, reply, app) { commands.cancel = () => "Nothing to cancel." commands.help = (sender, args, reply) => { - reply("Help not yet implemented 3:") + reply(`All commands are prefixed with $cmdprefix. + +help - Show this help message. +cancel - Cancel an ongoing action (such as login). +login - Request an authentication code. +logout - Log out from Telegram. + +api - Call a Telegram API method. Args is always a JSON object. Disabled by default. + +Temporary commands that will be replaced with better commands in the future: +createRoom - Create a portal room. is user, chat or channel and is the numeric ID of the Telegram chat. +syncUsers - Sync user info and join status in the given portal. Same arguments as createRoom.`) }