Re: Python IRC bot using Twisted

2007-07-11 Thread Jean-Paul Calderone
On Wed, 11 Jul 2007 03:51:27 -0700, ddtm <[EMAIL PROTECTED]> wrote: >I have another problem with my IRC bot. There is privmsg(self, user, >channel, msg) function (this function handles the incoming IRC data) >in the code that was mentioned above. I have a special condition in >this function that if

Re: Python IRC bot using Twisted

2007-07-11 Thread ddtm
I have another problem with my IRC bot. There is privmsg(self, user, channel, msg) function (this function handles the incoming IRC data) in the code that was mentioned above. I have a special condition in this function that if a user sends to bot a private message (in other words: if channel == se

Re: Python IRC bot using Twisted

2007-07-04 Thread ddtm
On 3, 20:08, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: > On Tue, 03 Jul 2007 15:51:30 -, ddtm <[EMAIL PROTECTED]> wrote: > >On 3, 17:55, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: > >> On Tue, 03 Jul 2007 13:44:34 -, ddtm <[EMAIL PROTECTED]> wrote: > >> >On 3, 16:01, Je

Re: Python IRC bot using Twisted

2007-07-03 Thread Jean-Paul Calderone
On Tue, 03 Jul 2007 15:51:30 -, ddtm <[EMAIL PROTECTED]> wrote: >On 3, 17:55, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: >> On Tue, 03 Jul 2007 13:44:34 -, ddtm <[EMAIL PROTECTED]> wrote: >> >On 3, 16:01, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: >> > [snip] >> >> >Thank yo

Re: Python IRC bot using Twisted

2007-07-03 Thread ddtm
On 3, 17:55, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: > On Tue, 03 Jul 2007 13:44:34 -, ddtm <[EMAIL PROTECTED]> wrote: > >On 3, 16:01, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: > > [snip] > > >Thank you very much! It's a very useful information. One more > >question: can I c

Re: Python IRC bot using Twisted

2007-07-03 Thread Jean-Paul Calderone
On Tue, 03 Jul 2007 13:44:34 -, ddtm <[EMAIL PROTECTED]> wrote: >On 3, 16:01, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: > [snip] > >Thank you very much! It's a very useful information. One more >question: can I cancel the DelayedCall using its ID (it is returned >from callLater(...)) f

Re: Python IRC bot using Twisted

2007-07-03 Thread ddtm
On 3, 16:01, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: > On Tue, 03 Jul 2007 09:46:59 -, ddtm <[EMAIL PROTECTED]> wrote: > >I'm using an example of IRC bot (_ttp://twistedmatrix.com/projects/ > >words/documentation/examples/ircLogBot.py) to create my own bot. But I > >have a problem. I

Re: Python IRC bot using Twisted

2007-07-03 Thread Jean-Paul Calderone
On Tue, 03 Jul 2007 09:46:59 -, ddtm <[EMAIL PROTECTED]> wrote: >I'm using an example of IRC bot (_ttp://twistedmatrix.com/projects/ >words/documentation/examples/ircLogBot.py) to create my own bot. But I >have a problem. I'm trying to make my bot send messages periodically. >But I can't find a

Python IRC bot using Twisted

2007-07-03 Thread ddtm
I'm using an example of IRC bot (_ttp://twistedmatrix.com/projects/ words/documentation/examples/ircLogBot.py) to create my own bot. But I have a problem. I'm trying to make my bot send messages periodically. But I can't find a way of adding Timer or something similar to my code so that it could wo