
    hj                         S SK r S SKrS SKrS SKJr  S SKJr  S SKJr  SSK	7  SSK
Jr  SSKJr  S	SK	7  S	S
KJr  SS jrSS jrg)    N)rmtree)config)Repo   )*)HELP)Loader   )load_addonsc                    U(       a  UR                  S5      (       a  g SSKJn  U" U5      =(       d    UR                  =n(       a   UR	                  [
        S9nU R                  [        R                  " 5       ;   a'  [        U R                     n UR                  X%05        g  [        R                  " U R                  X%005        g g ! [         aF  nU R                  R                  U5        U R                  R                  SU SU 35         S nAg S nAff = f! [         a%  nU R                  R                  U5         S nAg S nAff = f! [         a%  nU R                  R                  U5         S nAg S nAff = f)N_r   )get_help)iz	Error in z: )
startswithstringsr   __doc__formatHNDLR	Exception_logger	exceptioninfokeyr   keysupdateBaseException)	loadermoduleplugin_namer   doc_docer
update_cmdems	            -/root/TeamUltroid/pyUltroid/startup/loader.py_after_loadr&      s5   [++C00 $66t6	+++&C
 ::$fjj)J-!!;"45-VZZ+);<= 7  	NN$$R(NN)K=6( CD	 ! -((,,-
 ! -((,,-sH   C D &#E 
D<DD
E(EE
E?E::E?c                 	   [         R                  S5      =(       d    [        SS 5      nU(       a  UR                  5       O/ n[         R                  S5      =(       d    [        SS 5      nU(       a  UR                  5       O/ n[	        5       R                  XT[        S9  [        (       dW  [         R                  S5      (       d=  S/nU(       a  SU;  a  UR                  S5        [	        SS9R                  S	U[        S
9  U (       Ga  [         R                  S5      =n(       a  [        R                  " SU S3SS9  [        R                  R                  S5      (       a/  [        R                  R                  S5      (       d  [        S5        [        R                  R                  S5      (       d8   [        [!        5       R"                  5      n[        R                  " SU S3SS9  O[        R                  " SSS9  [        R                  R                  S5      (       d  [        R                  " SSS9  [        R                  R                  S5      (       a&  [        R                  " [&        R(                   S3SS9  [         R                  S5      nU(       a  UR                  5       O/ n[         R                  S5      nU(       a  UR                  5       O/ n[	        SSS9R                  [*        UU[        SS9  [        (       d<  U(       a  [	        SSS9R                  5         U(       a  [	        S S9R                  S	S!9  U(       Ga+  [,        (       Ga  [,        R.                  R0                  (       d   S"S Kn	[        R                  R                  S#5      (       aE  [        R                  R                  S$5      (       a  [        R                  " S%SS9  O[        S#5        [        R                  R                  S#5      (       d  [        R                  " S&SS9   [        R                  R                  S'5      (       d  [        R4                  " S'5        [	        S#S(S9R                  [        S)9  g g g g ! [$         a    Sn GNf = f! [6         a"  n
[8        R;                  U
 S*35         S n
A
g S n
A
ff = f! [<         a    [8        R;                  S+5         g f = f),NEXCLUDE_OFFICIALINCLUDE_ONLY)includeexclude
after_loadDISABLE_AST_PLUGINSpmbotgames	assistant)pathF)logr+   r,   
ADDONS_URLzgit clone -q z addonsT)shelladdonszaddons/.gitmainzgit clone -q -b z8 https://github.com/TeamUltroid/UltroidAddons.git addonsz!cd addons && git pull -q && cd ..zDgit clone -q https://github.com/TeamUltroid/UltroidAddons.git addonszaddons/addons.txtz8 -m pip install --no-cache-dir -q -r ./addons/addons.txtEXCLUDE_ADDONSINCLUDE_ADDONSAddons)r1   r   )funcr*   r+   r,   load_allzassistant/managerzGroup Managerzassistant/pmbot.py)r2   r   vcbotz
vcbot/.gitzcd vcbot && git pullz4git clone https://github.com/TeamUltroid/VcBot vcbotzvcbot/downloadsVCBot)r,   z Skipping VCBot Installation.z5'pytgcalls' not installed!
Skipping loading of VCBOT.)udBget_keyr   splitr	   loadr&   	USER_MODEappend
subprocessrunosr1   existsr   strr   active_branchr   sys
executabler   vcClientmebot	pytgcallsmkdirFileNotFoundErrorLOGSerrorModuleNotFoundError)r5   r.   managerr<   _exclude_in_only_ast_excurlbranchrO   es              r%   load_other_pluginsr\   0   s    {{-.R&9KT2RH#+x~~H {{>*Jf^T.JH#+x~~H
HMM(MM 9S[[)>??9x/OOG$K %%xK 	& 	

 ++l++3+NN]3%w7tD77>>(##BGGNN=,I,I8ww~~h'' TV112 NN"6(*bc
 NN>dKww~~h''NNV 77>>-..
 NN>>""Z[
 ;;/0'/8>>#R;;/0'/8>>#RH(+00" 	1 	
 9+AFFH ,-22u2= ((8;;??	Qww~~g&&77>>,//NN#9F7O77>>'**JRV@ww~~&788HH./G166+6N! $3(u_    @ % @

aS =>??@" 	QJJOP	QsJ   6Q? ?B&S &AR ?RR
R>R94S 9R>>S S#"S#) )NNNN)rF   rD   rJ   shutilr   decoupler   gitr   r]   dB._corer   r   r	   utilsr   r&   r\        r%   <module>re      s4    
  
        -2`Qrd   