Skip to content

Commit

Permalink
✏️ fix: fix a command blocking error when registering id
Browse files Browse the repository at this point in the history
  • Loading branch information
synoti21 committed Oct 6, 2023
1 parent ce8eb23 commit 0a6e1d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commands/daily.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ async function getUserCron(author, message, userCommandStatus){
logger.error(`Error: ${error} / ${author.id}`)
}finally {
if (conn) await conn.release();
userCommandStatus[message.author.id] = false
}

}
Expand Down

0 comments on commit 0a6e1d2

Please sign in to comment.