mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
fix deploy and update
This commit is contained in:
parent
7e99e9fe11
commit
896a526fd0
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ module.exports = {
|
|||
onBefore: context => context.user.isClientOwner,
|
||||
onCancel: () => { },
|
||||
run: async (context) => {
|
||||
if (process.env.environment !== "prodnew") return await editOrReply(context, createEmbed("error", context, "Cannot update on this instance."))
|
||||
if (!["production","prod","prodnew"].includes(process.env.environment)) return await editOrReply(context, createEmbed("error", context, "Cannot update on this instance."))
|
||||
await editOrReply(context, createEmbed("loading", context, "Querying manager..."))
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue