Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 55ed28b77c
Fetching contributors…

Cannot retrieve contributors at this time

executable file 25 lines (17 sloc) 0.516 kb
from core import ircBot
def getNetwork():
return ircBot.network
def getPort():
return ircBot.port
def getChannel():
return ircBot.channel
def getNick():
return ircBot.nickname
def send(thingToSend):
ircBot.socket.send(thingToSend)
def sayInChannel(thingToSay):
send('PRIVMSG %s :%s\r\n' % (getChannel(), thingToSay))
def privateMessage(user, message):
send('PRIVMSG %s :%s\r\n' % (user, message))
def callForUsers():
send('NAMES %s\r\n' % getChannel())
Jump to Line
Something went wrong with that request. Please try again.