|
|
__init__(self,
name='main',
owner=[])
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
_raw(self,
txt)
send raw text to the server |
source code
|
|
|
|
_connect(self,
nick,
server,
port,
password,
ipv6,
ssl=0)
connect to server/port using nick |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_onconnect(self)
run the onconnect-botname file after connect |
source code
|
|
|
|
_resume(self,
data,
reto=None)
resume to server/port using nick |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
connect(self,
nick,
server,
port=6667,
password='',
ipv6=0,
ssl=0,
reconnect=True)
connect to server/port using nick .. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
reconnect(*args,
**kwargs)
the locked function |
source code
|
|
|
|
handle_pong(self,
ievent)
set pongcheck on received pong |
source code
|
|
|
|
sendraw(self,
txt)
send raw text to the server |
source code
|
|
|
|
|
|
|
say(self,
printto,
what,
who=None,
how='msg',
fromm=None,
speed=0)
say what to printto |
source code
|
|
|
|
out(self,
printto,
what,
who=None,
how='msg',
fromm=None,
speed=5)
output the first 375 chars .. |
source code
|
|
|
|
output(self,
printto,
what,
how='msg',
who=None,
fromm=None)
first output .. |
source code
|
|
|
|
|
|
|
|
|
|
join(self,
channel,
password=None)
join channel with optional password |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
privmsg(self,
printto,
what)
send privmsg to irc server |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
quit(self,
reason='http://gozerbot.org')
send quit message |
source code
|
|
|
|
|
|
|
ctcp(self,
printto,
what)
send ctcp privmsg |
source code
|
|
|
|
ctcpreply(self,
printto,
what)
send ctcp notice |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
handle_433(self,
ievent)
handle nick already taken |
source code
|
|
|
|
handle_ping(self,
ievent)
send pong response |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
doconnect(self,
nick,
server,
port,
password,
ipv6)
connect to server/port using nick |
|
|
|
|
|
|
|
|
|
|
readloop(self)
loop on the socketfile |
|
|
|
Inherited from botbase.BotBase:
connectwithjoin,
joinchannels,
ownercheck,
stop
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|