Module Expr Str ImportFrom alias alias alias Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str Num Str Str Str Num Str ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad If CompareEq Call NameLoad NameLoad Num body Print Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Print BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Print BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Print BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Print BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Print BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Num body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Num body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body ImportFrom alias Expr Call NameLoad Expr Call AttributeLoad NameLoad attr
N/A N/A 
A very simple twisted.words.im-based logbot.

To run the script:
$ python minchat.py
 twisted.words.im basechat baseaccount ircsupport N/A accounts N/A N/A N/A ircsupport IRCAccount IRC 1 Tooty irc.freenode.net 6667 #twisted AccountManager N/A N/A baseaccount AccountManager N/A N/A 
    This class is a minimal implementation of the Account Manager.

    Most implementations will show some screen that lets the user add and
    remove accounts, but we're not quite that sophisticated.
     __init__ N/A N/A self N/A N/A N/A N/A self chatui N/A MinChat N/A N/A N/A len accounts 0 N/A N/A You have defined no accounts. N/A acct accounts N/A N/A N/A N/A acct logOn N/A self chatui N/A N/A MinConversation N/A N/A basechat Conversation N/A N/A 
    This class is a minimal implementation of the abstract Conversation class.

    This is all you need to override to receive one-on-one messages.
     show N/A N/A self N/A N/A N/A 
        If you don't have a GUI, this is a no-op.
         N/A N/A hide N/A N/A self N/A N/A N/A 
        If you don't have a GUI, this is a no-op.
         N/A N/A showMessage N/A N/A self text metadata N/A None N/A N/A N/A <%s> %s N/A N/A N/A self person name text N/A contactChangedNick N/A N/A self person newnick N/A N/A N/A N/A N/A N/A basechat Conversation contactChangedNick self person newnick N/A N/A -!- %s is now known as %s N/A N/A person name newnick N/A N/A MinGroupConversation N/A N/A basechat GroupConversation N/A N/A 
    This class is a minimal implementation of the abstract GroupConversation class.

    This is all you need to override to listen in on a group conversaion.
     show N/A N/A self N/A N/A N/A 
        If you don't have a GUI, this is a no-op.
         N/A N/A hide N/A N/A self N/A N/A N/A 
        If you don't have a GUI, this is a no-op.
         N/A N/A showGroupMessage N/A N/A self sender text metadata N/A None N/A N/A N/A <%s/%s> %s N/A sender N/A N/A self group name text N/A setTopic N/A N/A self topic author N/A N/A N/A N/A -!- %s set the topic of %s to: %s N/A author N/A N/A self group name topic N/A memberJoined N/A N/A self member N/A N/A N/A N/A N/A N/A basechat GroupConversation memberJoined self member N/A N/A -!- %s joined %s N/A member N/A N/A self group name N/A memberChangedNick N/A N/A self oldnick newnick N/A N/A N/A N/A N/A N/A basechat GroupConversation memberChangedNick self oldnick newnick N/A N/A -!- %s is now known as %s in %s N/A oldnick newnick N/A N/A self group name N/A memberLeft N/A N/A self member N/A N/A N/A N/A N/A N/A basechat GroupConversation memberLeft self member N/A N/A -!- %s left %s N/A member N/A N/A self group name N/A N/A MinChat N/A N/A basechat ChatUI N/A N/A 
    This class is a minimal implementation of the abstract ChatUI class.

    There are only two methods that need overriding - and of those two, 
    the only change that needs to be made is the default value of the Class
    parameter.
     getGroupConversation N/A N/A self group Class stayHidden N/A MinGroupConversation 0 N/A N/A N/A N/A N/A basechat ChatUI getGroupConversation self group Class stayHidden N/A getConversation N/A N/A self person Class stayHidden N/A MinConversation 0 N/A N/A N/A N/A N/A basechat ChatUI getConversation self person Class stayHidden N/A N/A N/A N/A __name__ __main__ N/A twisted.internet reactor N/A N/A AccountManager N/A N/A N/A reactor run