From c25e876962d558308c7f457e5312b602e2751f2e Mon Sep 17 00:00:00 2001 From: derpystuff <3515180-derpystuff@users.noreply.gitlab.com> Date: Fri, 17 Jun 2022 22:21:34 +0200 Subject: [PATCH] fix message --- commands/message/dev/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/message/dev/update.js b/commands/message/dev/update.js index d48eb24..e89210c 100644 --- a/commands/message/dev/update.js +++ b/commands/message/dev/update.js @@ -30,7 +30,7 @@ module.exports = { if(r.toString().includes("Already up to date.")) return await response.edit({embeds: [createEmbed("warning", context, "Already up to date.")]}) let id = r.toString().match(/(?:.*?)\.\.([a-z0-9]{7})/)[1] - return await response.edit({embeds: [createEmbed("success", context, `Updated to ${id} in ${((Date.now() - timings) / 1000).toFixed(2)}s`)]}) + return await response.edit({embeds: [createEmbed("success", context, `Updated to ${id} in ${((Date.now() - t) / 1000).toFixed(2)}s`)]}) }catch(e){ console.log(e) return await response.edit({embeds: [createEmbed("error", context, "Update failed.")]})