Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #59316

Re: Jabberbot

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Jabberbot
Date 2013-11-13 16:32 +0000
References <dbc0ba08-2119-42fc-88e9-93601b47d72a@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.2540.1384360362.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Jabberbot Matt Graves <tunacubes@gmail.com> - 2013-11-13 08:12 -0800
  Re: Jabberbot Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-13 16:32 +0000
    Re: Jabberbot Matt Graves <tunacubes@gmail.com> - 2013-11-13 08:42 -0800
      Re: Jabberbot Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-13 16:56 +0000

csiph-web