mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
test upd
This commit is contained in:
parent
95dffa5397
commit
284df376fd
1 changed files with 1 additions and 0 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue