otouto 3.14
All help messages and many other things moved from markdown to html. Eventually, I'd like only things made from user input to use markdown. cats.lua, rmspic.lua, and dilbert.lua moved to sendPhoto with URL. xkcd.lua and apod.lua not moved to retain formatting. Probably a lot of other stuff that I forget about. I should commit more often.
This commit is contained in:
@ -14,7 +14,7 @@ function dice:action(msg)
|
||||
|
||||
local input = utilities.input(msg.text_lower)
|
||||
if not input then
|
||||
utilities.send_message(msg.chat.id, dice.doc, true, msg.message_id, true)
|
||||
utilities.send_message(msg.chat.id, dice.doc, true, msg.message_id, 'html')
|
||||
return
|
||||
end
|
||||
|
||||
@ -25,7 +25,7 @@ function dice:action(msg)
|
||||
count = 1
|
||||
range = input:match('^d?([%d]+)$')
|
||||
else
|
||||
utilities.send_message(msg.chat.id, dice.doc, true, msg.message_id, true)
|
||||
utilities.send_message(msg.chat.id, dice.doc, true, msg.message_id, 'html')
|
||||
return
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user