on message horror #1

celesteking opened this Issue Jul 5, 2011 · 1 comment


None yet

2 participants


Hi. I'm trying to intermix Percy and Botfly. I'm getting the following error:

(eval):2:in message': wrong number of arguments (0 for 2) (ArgumentError) from (eval):2:insend'
from (eval):2:in message' from /home/rorot/ircrel/ircrelay.rb:66:insend'
from /home/rorot/ircrel/ircrelay.rb:66:in `define_jabber_callbacks'

It's because of Percy's message method somehow interfering with Botfly's on ducktyped thingie. It's a real challenge to understand what's going on under the hood because the code is so complex. Would you clarify, please, what's going on and how to solve it?

See https://gist.github.com/bdf81aedb05fdeaf2884 for code example.



Hey I'm out of town for the moment. I haven't looked at the code for Botfly in over a year but when I get back I'll see what i can do.

@rkneufeld rkneufeld was assigned Jul 6, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment