I should probably commit now. Less global magic!

This commit is contained in:
Brayden Banks
2016-04-08 14:12:02 -07:00
parent 550d0743b7
commit acb679f8fa
41 changed files with 1213 additions and 1241 deletions

View File

@ -16,7 +16,7 @@ local action = function(msg)
sendChatAction(msg.chat.id, 'upload_photo')
local input = msg.text:input()
local input = utilities.input(msg.text)
if not input then input = os.date('%F') end
if not input:match('^%d%d%d%d%-%d%d%-%d%d$') then input = os.date('%F') end