From 67ecdd68e2f5c22b7d4676dda858fdf25c7241da Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Sun, 4 Dec 2016 12:34:28 +0100 Subject: [PATCH] Totally forgot how to Array --- otouto/bot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otouto/bot.lua b/otouto/bot.lua index 0afd6a5..66ab992 100644 --- a/otouto/bot.lua +++ b/otouto/bot.lua @@ -223,7 +223,7 @@ function bot:run(config) while self.is_started do -- Update loop - local res = bindings.getUpdates{ timeout = 120, offset = self.last_update+1, allowed_updates = ['message', 'inline_query', 'callback_query'] } + local res = bindings.getUpdates{ timeout = 120, offset = self.last_update+1, allowed_updates = {'message', 'inline_query', 'callback_query'} } if res then -- Iterate over every new message. for n=1, #res.result do