diff --git a/commands/message/dev/update.js b/commands/message/dev/update.js index 90d2303..cd8ddd1 100644 --- a/commands/message/dev/update.js +++ b/commands/message/dev/update.js @@ -26,6 +26,7 @@ module.exports = { try{ const r = execSync("git pull") 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("brand", context, {description: `Update complete (${highlight(id)})`})]}) }catch(e){