In the newest version of cinch it appears that setting a plugin-specific prefix no longer works the same way. Copying your example code in https://github.com/cinchrb/cinch/blob/master/examples/plugins/custom_prefix.rb verbatim and running it produces the error:
bot.rb:7:in <class:SomeCommand>': wrong number of arguments (1 for 0) (ArgumentError) from bot.rb:4:in'
I have Cinch 2.0.3 and Ruby 1.9.2p290 installed. Is there something I'm missing, or can you provide some new example code for setting a plugin-specific prefix? Thanks!
In the newest version of cinch it appears that setting a plugin-specific prefix no longer works the same way. Copying your example code in https://github.com/cinchrb/cinch/blob/master/examples/plugins/custom_prefix.rb verbatim and running it produces the error: bot.rb:7:in'
<class:SomeCommand>': wrong number of arguments (1 for 0) (ArgumentError) from bot.rb:4:in
I have Cinch 2.0.3 and Ruby 1.9.2p290 installed. Is there something I'm missing, or can you provide some new example code for setting a plugin-specific prefix? Thanks!