X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=tasks%2Fplugin.rake;h=ffdb23de5a64e8c15d275fc6a596fba1c55185f4;hb=235b43b450b3c60058cc0de19641ff5be23d7a6c;hp=f781481e89704f34b1c78cbe465bfca181708e79;hpb=ff7cdac8fc918a6ad280153e9487cd4cb0f2fae4;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/tasks/plugin.rake b/tasks/plugin.rake index f781481e..ffdb23de 100644 --- a/tasks/plugin.rake +++ b/tasks/plugin.rake @@ -16,7 +16,7 @@ class #{class_name} < Plugin when 'hello' _("hello, this is an example topic of my new plugin! :)") else - _("#{plugin_name} plugin — topics: %{list}") % { + _("#{plugin_name} plugin - topics: %{list}") % { :list => topics.join(", ") } end @@ -47,7 +47,7 @@ plugin.map "#{plugin_name} [:arg]", :action => 'example' f << plugin_template end - puts "Plugin skeleton for #{class_name} written!" + puts "Plugin skeleton for #{class_name} written to #{file_path}!" puts "Now issue `rescan` on the bot and use the command `help #{plugin_name}` to see that the plugin works." puts end