From db27df7043884fa1830290bf8227529021e65478 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Sun, 2 Aug 2015 22:12:22 +0200 Subject: [PATCH] put yolo.lua in specials.lua --- plugins/{ => pluginsold}/yolo.lua | 0 plugins/special.lua | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) rename plugins/{ => pluginsold}/yolo.lua (100%) diff --git a/plugins/yolo.lua b/plugins/pluginsold/yolo.lua similarity index 100% rename from plugins/yolo.lua rename to plugins/pluginsold/yolo.lua diff --git a/plugins/special.lua b/plugins/special.lua index 86742d6..1fa3e04 100644 --- a/plugins/special.lua +++ b/plugins/special.lua @@ -58,6 +58,8 @@ function run(msg, matches) send_photo(get_receiver(msg), "pictures/poi.jpg", ok_cb, false) elseif string.match(msg.text, "^/[Tt][Hh][Yy][Mm][Ee]$") then send_photo(get_receiver(msg), "pictures/thyme.jpg", ok_cb, false) + elseif string.match(msg.text, "^[Yy][Oo][Ll][Oo]$") then + return 'Hä YOLO?' end end @@ -87,7 +89,8 @@ return { "^[B|b][A|a][K|k][A|a] [B|b][O|o][T|t]$", "^[A|a][H|h][A|a].[P|p][N|n][G|g]$", "^~?[P|p][O||o][I|i]$", - "^/[Tt][Hh][Yy][Mm][Ee]$" + "^/[Tt][Hh][Yy][Mm][Ee]$", + "^[Yy][Oo][Ll][Oo]$" }, run = run }