diff --git a/bots/index.js b/bots/index.js index cc33417..e861f67 100644 --- a/bots/index.js +++ b/bots/index.js @@ -5,6 +5,7 @@ const botFolders = readdirSync('./', { withFileTypes: true }) .map(dirent => dirent.name); for (const botFolder of botFolders) { + if (botFolder === 'node_modules') continue; const botIndex = await import(`./${botFolder}/index.js`); botIndex.default(); } \ No newline at end of file