Module Import alias Import alias Import alias ImportFrom alias alias ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore ListLoad TupleLoad Str Num TupleLoad Str Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Num orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Dict Str Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If BoolOpAnd CompareIn NameLoad AttributeLoad NameLoad attr CompareGt AttributeLoad NameLoad attr Num body Assign NameStore Dict Str Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str AttributeLoad NameLoad attr For TupleStore NameStore NameStore AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareGt AttributeLoad NameLoad attr Num body AugAssignSub AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad TupleLoad Str AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Str Assign NameStore Num Assign NameStore Str Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad ListLoad Str
N/A N/A random N/A re N/A redis irc IRCBot run_bot LolBot N/A IRCBot N/A N/A key lolbot N/A url_pattern N/A N/A re compile (https?://[-A-Za-z0-9+&@#/%?=~_()|!:,.;]*[-A-Za-z0-9+&@#/%=~_|]) N/A phrases lol|haha|:\)|nice|wat\?|wtf N/A influencer_patterns N/A N/A ^%(sender)s[:,\s]\s(%(phrases)s) 3 N/A ^(%(phrases)s) 1 N/A lifetime 5 N/A repeat_score 5 __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super LolBot self __init__ args kwargs N/A N/A self message_count 0 N/A N/A self last_urls N/A N/A N/A self redis_conn N/A N/A redis Redis N/A store_url N/A N/A self sender url N/A N/A N/A score N/A N/A N/A self redis_conn zscore N/A self key url N/A N/A score None N/A N/A N/A N/A N/A self redis_conn zadd N/A self key url 1 N/A N/A N/A N/A N/A self redis_conn zincrby N/A self key url N/A self repeat_score N/A search_urls N/A N/A self sender message channel N/A N/A N/A N/A N/A N/A N/A self url_pattern search message N/A N/A N/A N/A self message_count N/A self lifetime N/A url N/A N/A N/A self url_pattern findall message N/A N/A N/A N/A self store_url sender url N/A N/A N/A self last_urls N/A channel N/A sender url sender url N/A check_lulz N/A N/A self sender message channel N/A N/A N/A N/A N/A channel N/A self last_urls N/A N/A self message_count 0 N/A N/A vals N/A sender phrases N/A N/A N/A self last_urls N/A channel N/A sender N/A self phrases N/A N/A pattern score N/A self influencer_patterns N/A N/A N/A N/A re match N/A pattern vals message N/A N/A N/A N/A N/A self redis_conn zincrby N/A N/A N/A self last_urls N/A channel N/A url score N/A log N/A N/A self sender message channel N/A N/A N/A N/A N/A self message_count 0 N/A N/A N/A self message_count 1 N/A N/A N/A self check_lulz sender message channel N/A N/A N/A self search_urls sender message channel N/A command_patterns N/A N/A self N/A N/A N/A N/A N/A .* N/A self log N/A N/A N/A host irc.freenode.net N/A port 6667 N/A nick walrus-whisker N/A N/A run_bot LolBot host port nick N/A #lawrence-botwars