This commit is contained in:
derpystuff 2023-10-29 00:19:46 +02:00
parent a605c5fdd2
commit 5616e09037
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ module.exports = {
onBefore: context => context.user.isClientOwner,
onCancel: () => { },
run: async (context) => {
if (process.env.environment == "prodnew") return await editOrReply(context, createEmbed("error", "Cannot update on this instance."))
if (process.env.environment !== "prodnew") return await editOrReply(context, createEmbed("error", "Cannot update on this instance."))
await editOrReply(context, createEmbed("loading", context, "Querying manager..."))
try {