diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/contrib/plugins/figlet.rb | 20 |
1 files changed, 0 insertions, 20 deletions
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 [<message>] => 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") |