From 80af530754e12b934097c9d94cf6131b3ae61c80 Mon Sep 17 00:00:00 2001 From: yago Date: Sat, 22 Nov 2014 14:42:26 +0100 Subject: [PATCH] hello space --- plugins/hello.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/hello.lua b/plugins/hello.lua index 7ea163e..e48dc1b 100644 --- a/plugins/hello.lua +++ b/plugins/hello.lua @@ -1,12 +1,15 @@ function run(msg, matches) - return "Hello," .. matches[1] + return "Hello, " .. matches[1] end return { description = "Says hello to someone", usage = "say hello to [name]", - patterns = {"^say hello to (.*)$"}, + patterns = { + "^say hello to (.*)$". + "^Say hello to (.*)$" + }, run = run }