IRC module
parent
6fbb04415c
commit
10b23a9d8c
|
@ -0,0 +1,15 @@
|
|||
class Mod_IRC < Vrobot4::Module::Module
|
||||
def self.type() "IRC" end
|
||||
Vrobot4::Module.add_module_type self, server: "IRC"
|
||||
|
||||
def initialize info
|
||||
super
|
||||
register :c_raw, "raw", "Execute a raw IRC command.", roles: "o"
|
||||
end
|
||||
|
||||
def c_raw m, argv
|
||||
m.serv.bot.irc.send argv
|
||||
end
|
||||
end
|
||||
|
||||
## EOF
|
Loading…
Reference in New Issue