mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 14:43:05 -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{
|
try{
|
||||||
const r = execSync("git pull")
|
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.")]})
|
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]
|
let id = r.toString().match(/(?:.*?)\.\.([a-z0-9]{7})/)[1]
|
||||||
return await response.edit({embeds: [createEmbed("brand", context, {description: `Update complete (${highlight(id)})`})]})
|
return await response.edit({embeds: [createEmbed("brand", context, {description: `Update complete (${highlight(id)})`})]})
|
||||||
}catch(e){
|
}catch(e){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue