Jabberbot

Matt Graves tunacubes at gmail.com
Wed Nov 13 11:42:49 EST 2013


On Wednesday, November 13, 2013 11:32:24 AM UTC-5, Mark Lawrence wrote:
> On 13/11/2013 16:12, Matt Graves wrote:
> 
> > I'm using the jabberbot library and there is not a whole lot of documentation on it. Does anyone have experience with this library?
> 
> >
> 
> 
> 
> [snip code from http://thp.io/2007/python-jabberbot/]
> 
> 
> 
> > I cannot figure out how I would have it simulate a conversation. For example, if I added
> 
> >
> 
> >      @botcmd
> 
> >      def Hello(self, mess, args):
> 
> >          return "Hi, how are you?"
> 
> > 		
> 
> > how would I get it to carry on from here? To look for different answers to the response that was returned. Any bit of information would be appreciated.
> 
> >
> 
> 
> 
>  From the link above "More examples
> 
> 
> 
> Starting with version 0.7, more examples can be found in the examples/ 
> 
> subdirectory of the source distribution."
> 
> 
> 
> Have you looked at these?
> 
> 
> 
> -- 
> 
> Python is the second best programming language in the world.
> 
> But the best has yet to be invented.  Christian Tismer
> 
> 
> 
> Mark Lawrence

I have, but unfortunately they are about just as clear as the example I posted. The examples they posted are relevant for certain things, but not what I'm looking to do. 



More information about the Python-list mailing list