From e959d056e9ac9fdf64b7d719a05f29290b7e37a9 Mon Sep 17 00:00:00 2001 From: Tom Gilbert Date: Sun, 6 Aug 2006 22:47:08 +0000 Subject: why do we have 2 figlets? --- data/rbot/contrib/plugins/figlet.rb | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 data/rbot/contrib/plugins/figlet.rb diff --git a/data/rbot/contrib/plugins/figlet.rb b/data/rbot/contrib/plugins/figlet.rb deleted file mode 100644 index ce17fe71..00000000 --- a/data/rbot/contrib/plugins/figlet.rb +++ /dev/null @@ -1,20 +0,0 @@ -class FigletPlugin < Plugin - def help(plugin, topic="") - "figlet [] => print using figlet" - end - def privmsg(m) - case m.params - when nil - m.reply "incorrect usage: " + help(m.plugin) - return - when (/^-/) - m.reply "incorrect usage: " + help(m.plugin) - return - else - m.reply Utils.safe_exec("/usr/bin/figlet", "-k", "-f", "mini", m.params) - return - end - end -end -plugin = FigletPlugin.new -plugin.register("figlet") -- cgit v1.2.3