
    i                     *    d dl Z d dlZg dZdefdZdS )    N)z	channels.zgroups.zim.zmpim.zadmin.conversations.whitelist.method_namec                      t           j                            d          }|rdS  sdS  fdt          D             }t	          |          dk    r  d}t          j        |           dS dS )z2Prints a warning if the given method is deprecatedSLACKCLIENT_SKIP_DEPRECATIONNc                 >    g | ]}                     |          |S  )
startswith).0prefixr   s     P/root/projects/butler/venv/lib/python3.11/site-packages/slack/web/deprecation.py
<listcomp>z,show_2020_01_deprecation.<locals>.<listcomp>   s.    rrr6S^SiSijpSqSqrrrr    r   z is deprecated. Please use the Conversations API instead. For more info, go to https://docs.slack.dev/changelog/2020-01-deprecating-antecedents-to-the-conversations-api/)osenvironget"deprecated_method_prefixes_2020_01lenwarningswarn)r   skip_deprecationmatched_prefixesmessages   `   r   show_2020_01_deprecationr      s     z~~&DEE  rrrr-Orrr
q   i i i 	
 	g ! r   )r   r   r   strr   r   r   r   <module>r      sN    				 & & & "#      r   