o
    t"i                     @   s,   d dl mZ d dlmZ G dd deZdS )    )Plugin)textc                   @   s   e Zd Zdd Zdd ZdS )HistoryPluginc                 C   s
   |  dS )Nu   /历史数据)on_full_match)self r   1/home/dore/onebot/Bot_Ero/plugins/read_history.pymatch   s   
zHistoryPlugin.matchc                 C   sB   | j d}|d kr| | j d }t| d S | td d S )Ngroup_idu!   这个指令不能在私聊使用)contextgetget_group_album_listprintsend_msgr   )r   r
   
album_listr   r   r   handle   s
   zHistoryPlugin.handleN)__name__
__module____qualname__r	   r   r   r   r   r   r      s    r   N)	core.baser   core.cqr   r   r   r   r   r   <module>   s    