Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/twisted/words/im/__pycache__/ |
Upload File : |
o �b � @ s� d Z ddlmZ ddlmZ ddlmZmZ ddlm Z ddl mZ ddlm Z ddlmZmZ G d d � d �ZG dd� d�ZG d d� d�ZG dd� de j�ZdS )zyInstance Messenger base classes for protocol support. You will find these useful if you're adding a new protocol to IM. � )�Type)�error)�Protocol�connectionDone)�styles)�Failure��prefixedMethods)�OFFLINE�OfflineErrorc @ sP e Zd Zdd� Zdd� Zdd� Zdd� Zd d � Zdefdd �Z defdd�Z dS )� AbstractGroupc C s || _ || _d S �N)�name�account)�selfr r � r �>/usr/lib/python3/dist-packages/twisted/words/im/basesupport.py�__init__ s zAbstractGroup.__init__c C � t | d�S )z�finds group commands these commands are methods on me that start with imgroup_; they are called with no arguments �imgroup_r �r r r r �getGroupCommands � zAbstractGroup.getGroupCommandsc C r )a( finds group commands these commands are methods on me that start with imgroup_; they are called with a user present within this room as an argument you may want to override this in your group in order to filter for appropriate commands on the given user � imtarget_r )r �targetr r r �getTargetCommands# s zAbstractGroup.getTargetCommandsc C � | j jst�| j j�| j� d S r )r �clientr � joinGroupr r r r r �join. � zAbstractGroup.joinc C r r )r r r � leaveGroupr r r r r �leave3 r zAbstractGroup.leave�returnc C s d| j � d| j�d�S )N�<� �>)� __class__r r r r r �__repr__8 s zAbstractGroup.__repr__c C � | j � d| jj� �S �N�@�r r �accountNamer r r r �__str__; � zAbstractGroup.__str__N)�__name__� __module__�__qualname__r r r r r"