File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,6 @@ import fs from 'fs'
22import archiver from 'archiver'
33
44let handler = async ( m , { conn } ) => {
5- // LID helpers usage
6- const sender = ( global . decodeSender ? global . decodeSender ( m , conn ) : ( conn ?. decodeJid ? conn . decodeJid ( m . sender ) : m . sender ) ) ;
7- const chatId = ( global . decodeChat ? global . decodeChat ( m , conn ) : ( conn ?. decodeJid ? conn . decodeJid ( m . chat ) : m . chat ) ) ;
8-
9- // LID injection removed (now using global helpers)
10-
115 m . reply ( 'Tunggu sebentar, sedang menyiapkan backup...' )
126
137 const zipPath = './Elaina - AI Backup.zip'
@@ -36,8 +30,6 @@ let handler = async (m, { conn }) => {
3630 } )
3731
3832 archive . pipe ( output )
39-
40- // Tambahkan semua file & folder kecuali node_modules dan sessions
4133 archive . glob ( '**/*' , {
4234 ignore : [ 'node_modules/**' , 'sessions/**' , 'Elaina - AI Backup.zip' ]
4335 } )
@@ -49,4 +41,4 @@ handler.help = ['getbp']
4941handler . tags = [ 'owner' ]
5042handler . command = / ^ ( g e t b p ) $ / i
5143handler . mods = true
52- export default handler
44+ export default handler
You can’t perform that action at this time.
0 commit comments