Imported modules
|
|
import re
import string
from twisted.internet import tcp
from twisted.protocols import toc
from twisted.words.ui import gateway
|
Functions
|
|
blockUser
chatInvite
dehtml
html
makeConnection
sendIM
unBlockUser
warnUser
warnUserAnonymously
|
|
blockUser
|
blockUser (
im,
gateway,
user,
text,
)
|
|
chatInvite
|
chatInvite (
im,
gateway,
group,
text,
users,
)
|
|
dehtml
|
dehtml ( text )
|
|
html
|
html ( text )
|
|
makeConnection
|
makeConnection (
im,
server=None,
port=None,
**kwargs,
)
|
|
sendIM
|
sendIM (
im,
gateway,
group,
text,
users,
)
|
|
unBlockUser
|
unBlockUser (
im,
gateway,
user,
text,
)
|
|
warnUser
|
warnUser (
im,
gateway,
user,
text,
)
|
|
warnUserAnonymously
|
warnUserAnonymously (
im,
gateway,
user,
text,
)
|
Classes
|
|
TOCGateway |
This is the interface between IM and a TOC server
|
|
|