rename prodnew to prod

This commit is contained in:
derpystuff 2024-01-21 23:33:04 +01:00
parent 470c4c4e51
commit aa92d759ea
2 changed files with 3 additions and 3 deletions

View file

@ -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 deploy on this instance."))
if (process.env.environment.toLowerCase() !== "prod") return await editOrReply(context, createEmbed("error", context, "Cannot deploy on this instance."))
await editOrReply(context, createEmbed("loading", context, "Querying deploy..."))
try {