Module Expr Str Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Return ListLoad Str decorator_list FunctionDef arguments args defaults body Expr Str Return ListLoad decorator_list FunctionDef arguments args defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Return Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str Str attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str Str attr Str If UnaryOpNot Call NameLoad NameLoad body Assign NameStore ListLoad If CompareLt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Return Str If CompareNotIn Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Return Str If CompareIn Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str Str Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad Str attr keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str Str Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad Str attr keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A N/A  An access control plugin  N/A os N/A ConfigParser N/A logging N/A logger N/A N/A logging getLogger __name__ enabled N/A N/A N/A N/A N/A 
        Enabled

        Is this plugin enabled. Returning false here
        will cause this plugin to be ignored by the
        framework entirely.

        --
        @return bool
     N/A True N/A applicable_types N/A N/A N/A N/A N/A 
        Applicable Types

        Returns the type of messages this plugin is for.
        See: hogar.static.values

        --
        @return list
     N/A N/A contact N/A commands N/A N/A N/A N/A N/A 
        Commands

        In the case of text plugins, returns the commands
        that this plugin should trigger for. For other
        message types, a empty list should be returned.

        --
        @return list
     N/A N/A N/A should_reply N/A N/A N/A N/A N/A 
        Should Reply

        Specifies wether a reply should be sent to the original
        sender of the message that triggered this plugin.

        --
        @return bool
     N/A True N/A reply_type N/A N/A N/A N/A N/A 
        Reply Type

        Specifies the type of reply that should be sent to the
        sender. This is an optional function. See hogar.static.values
        for available types.

        --
        @return str
     N/A text N/A run N/A N/A message N/A N/A N/A 
        Run

        Run the custom plugin specific code. A returned
        string is the message that will be sent back
        to the user.

        --
        @param  message:dict    The message sent by the user

        @return str
     N/A config N/A N/A ConfigParser ConfigParser N/A N/A N/A config read N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ ../../../settings.ini N/A config_owners N/A N/A N/A N/A config get acl owners split , N/A config_users N/A N/A N/A N/A config get acl users split , N/A N/A N/A any config_users N/A N/A config_users N/A N/A N/A N/A len config_owners 1 N/A N/A N/A N/A logger error N/A N/A ACL modification denied for {first_name}. No owners configured format first_name N/A N/A message N/A from N/A first_name N/A I will only allow the owner to do this. N/A N/A N/A str N/A N/A message N/A from N/A id config_owners N/A N/A N/A N/A logger error N/A N/A ACL modification denied for {first_name}. Not an owner format first_name N/A N/A message N/A from N/A first_name N/A I will only allow the owner to do this. N/A N/A N/A str N/A N/A message N/A contact N/A user_id config_users N/A N/A N/A N/A logger info N/A N/A {owner_first_name} removed {first_name} ({id}) as a user format owner_first_name N/A N/A message N/A from N/A first_name first_name N/A N/A message N/A contact N/A first_name id N/A N/A message N/A contact N/A user_id N/A N/A N/A config_users remove N/A str N/A N/A message N/A contact N/A user_id N/A N/A N/A config set acl users N/A N/A , join config_users N/A status N/A N/A Removed {first_name} ({id}) as a user. format first_name N/A N/A message N/A contact N/A first_name id N/A N/A message N/A contact N/A user_id N/A N/A N/A N/A logger info N/A N/A {owner_first_name} added {first_name} ({id}) as a user format owner_first_name N/A N/A message N/A from N/A first_name first_name N/A N/A message N/A contact N/A first_name id N/A N/A message N/A contact N/A user_id N/A N/A N/A config_users append N/A str N/A N/A message N/A contact N/A user_id N/A N/A N/A config set acl users N/A N/A , join config_users N/A status N/A N/A Added {first_name} ({id}) as a user. format first_name N/A N/A message N/A contact N/A first_name id N/A N/A message N/A contact N/A user_id N/A N/A open N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ ../../../settings.ini wb s N/A N/A N/A N/A config write s N/A status N/A