Imported modules
|
|
import errno
import operator
import os
from os import path
import random
import re
import shutil
import stat
import string
import struct
import sys
import tempfile
import time
import traceback
from twisted.internet import reactor
from twisted.persisted import styles
from twisted.protocols import basic, protocol
from twisted.python import log, reflect
import types
|
Functions
|
|
|
|
ctcpDequote
|
ctcpDequote ( s )
|
|
ctcpExtract
|
ctcpExtract ( message )
Extract CTCP data from a string.
Returns a dictionary with two items:
'extended': a list of CTCP (tag, data) tuples
'normal': a list of strings which were not inside a CTCP delimeter
|
|
ctcpQuote
|
ctcpQuote ( s )
|
|
ctcpStringify
|
ctcpStringify ( messages )
|
|
dccDescribe
|
dccDescribe ( data )
Given the data chunk from a DCC query, return a descriptive string.
|
|
fileSize
|
fileSize ( file )
I'll try my damndest to determine the size of this file object.
|
|
lowDequote
|
lowDequote ( s )
|
|
lowQuote
|
lowQuote ( s )
|
|
parsemsg
|
parsemsg ( s )
Breaks a message from an IRC server into its prefix, command, and arguments.
|
|
split
|
split ( str, length=80 )
split(str, length = 80) -> list of strs
Breaks a message into multiple lines, prefering to break at
whitespace near str[length]. Also breaks at
.
|
Classes
|
|
|