This commit is contained in:
derpystuff 2022-06-17 22:03:31 +02:00
parent 95dffa5397
commit 284df376fd

View file

@ -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){