Use const where possible

This commit is contained in:
SileNce5k 2025-05-17 11:04:17 +02:00
parent 72a0d10c19
commit b45d3bc9fb
Signed by: SileNce
GPG key ID: B0A142BB4291B204
3 changed files with 6 additions and 6 deletions

View file

@ -19,8 +19,8 @@ module.exports = async function (message, args) {
if (isNaN(timeInSeconds)) {
return "Please specify a time, and a message to send after the timer has finished"
}
let customMessage = args.slice(1).join(" ")
let reminderTime = currentUnixTime + timeInSeconds
const customMessage = args.slice(1).join(" ")
const reminderTime = currentUnixTime + timeInSeconds
let newTimerID;
const db = new sqlite3.Database(databasePath)
let sendText = await new Promise((resolve, reject)=>{