Fixed some tabulation

This commit is contained in:
yago
2015-03-04 23:51:36 +01:00
parent 565ac4db40
commit 7224cec834
5 changed files with 53 additions and 48 deletions

View File

@ -22,17 +22,17 @@ function stringlinks(results)
end
function run(msg, matches)
vardump(matches)
local results = googlethat(matches[1])
return stringlinks(results)
vardump(matches)
local results = googlethat(matches[1])
return stringlinks(results)
end
return {
description = "Searches Google and send results",
usage = "!google [terms]: Searches Google and send results",
patterns = {
"^!google (.*)$",
"^%.[g|G]oogle (.*)$"
},
run = run
description = "Searches Google and send results",
usage = "!google [terms]: Searches Google and send results",
patterns = {
"^!google (.*)$",
"^%.[g|G]oogle (.*)$"
},
run = run
}