Updated readme, slightly modified help behavior.

This commit is contained in:
topkecleon
2016-06-15 08:35:39 -04:00
parent 101eb70eae
commit f17455a505
2 changed files with 14 additions and 17 deletions

View File

@@ -39,7 +39,7 @@ function help:action(msg)
if not input then
local res = utilities.send_message(self, msg.from.id, help_text, true, nil, true)
if not res then
utilities.send_reply(self, msg, 'Please message me privately or [click here](http://telegram.me/' .. self.info.username .. '?start=help) for a list of commands.', true)
utilities.send_reply(self, msg, 'Please [message me privately](http://telegram.me/' .. self.info.username .. '?start=help) for a list of commands.', true)
elseif msg.chat.type ~= 'private' then
utilities.send_reply(self, msg, 'I have sent you the requested information in a private message.')
end