async function process () {
  await del([path.resolve(__dirname, './discord_ui/')])
  await scrape({
    urls: ['https://discord.com/channels/@me/1'],
    directory: path.resolve(__dirname, './discord_ui/')
  })
  for (const file of fs.readdirSync(path.resolve(__dirname, './discord_ui/js/'))) {
    const minified = await fs.readFileSync(path.resolve(__dirname, './discord_ui/js/', file)).toString()
    if (minified.includes('"people":[')) return minified
  }
}
/**
 * Sync Discord Files to Disk and locate the emoji table.
 */
Sync Discord Files to Disk and locate the emoji table.
Sync Discord Files to Disk and locate the emoji table .
async function process () {
  await del([path.resolve(__dirname, './discord_ui/')])
  await scrape({
    urls: ['https://discord.com/channels/@me/1'],
    directory: path.resolve(__dirname, './discord_ui/')
  })
  for (const file of fs.readdirSync(path.resolve(__dirname, './discord_ui/js/'))) {
    const minified = await fs.readFileSync(path.resolve(__dirname, './discord_ui/js/', file)).toString()
    if (minified.includes('"people":[')) return minified
  }
}
async function process ( ) { await del ( [ path . resolve ( __dirname , './discord_ui/' ) ] ) await scrape ( { urls : [ 'https://discord.com/channels/@me/1' ] , directory : path . resolve ( __dirname , './discord_ui/' ) } ) for ( const file of fs . readdirSync ( path . resolve ( __dirname , './discord_ui/js/' ) ) ) { const minified = await fs . readFileSync ( path . resolve ( __dirname , './discord_ui/js/' , file ) ) . toString ( ) if ( minified . includes ( '"people":[' ) ) return minified } }
Sync Discord Files to Disk and locate the emoji table.
Sync Discord Files to Disk and locate the emoji table .