ok
This commit is contained in:
parent
2cb7f7f46b
commit
9c1c73c2d4
Binary file not shown.
@ -1,19 +0,0 @@
|
|||||||
require 'cinch'
|
|
||||||
require_relative '../classes/Util.rb'
|
|
||||||
class PlugList
|
|
||||||
include Cinch::Plugin
|
|
||||||
@@commandName = "plugs"
|
|
||||||
set :prefix, /^:/
|
|
||||||
match /plugs/
|
|
||||||
|
|
||||||
def execute(m)
|
|
||||||
ibot = Util::Bot.instance
|
|
||||||
str = ""
|
|
||||||
ibot.bot.plugins.each do |plug|
|
|
||||||
str += " #{plug.class.name}"
|
|
||||||
end
|
|
||||||
m.reply str
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user