- Echo: Erlaube Markdown (nicht in Supergruppen)

- Entferne orderdPairs(), da .getn deprecated ist
This commit is contained in:
Andreas Bielawski
2016-06-19 22:14:54 +02:00
parent fa1e5d73d2
commit 4cbe28ea93
2 changed files with 1 additions and 53 deletions

View File

@@ -22,10 +22,8 @@ function echo:action(msg)
local output
if msg.chat.type == 'supergroup' then
output = '*Echo:*\n"' .. utilities.md_escape(input) .. '"'
else
output = utilities.md_escape(utilities.char.zwnj..input)
end
utilities.send_message(self, msg.chat.id, output, true, nil, true)
utilities.send_message(self, msg.chat.id, input, true, nil, true)
end