Skip to content

Commit

Permalink
feat: fix broadcast on schema & add auto clear session
Browse files Browse the repository at this point in the history
  • Loading branch information
neoxr committed Apr 10, 2024
1 parent d6842b7 commit 77df63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ client.on('ready', async () => {
require('./lib/system/config'), require('./lib/system/baileys')(client.sock), require('./lib/system/functions'), require('./lib/system/scraper')

/* clear temp folder every 10 minutes */
setInterval(() => {
setInterval(async () => {
try {
const tmpFiles = fs.readdirSync('./temp')
if (tmpFiles.length > 0) {
Expand Down

0 comments on commit 77df63c

Please sign in to comment.