From ac0ba13374929eacf56fe07527daaf1175620138 Mon Sep 17 00:00:00 2001 From: derock Date: Sun, 21 Aug 2022 18:52:42 -0400 Subject: [PATCH] ref: update warning message --- src/exporthtml.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/exporthtml.ts b/src/exporthtml.ts index e4a091b..2ab28b0 100644 --- a/src/exporthtml.ts +++ b/src/exporthtml.ts @@ -31,9 +31,9 @@ const Attachment = ( userDiscord.MessageAttachment ) as Class; -if (!process.env.HIDE_TRANSCRIPT_WARNINGS && isDJSv14) +if (!process.env.HIDE_TRANSCRIPT_WARNINGS && !isDJSv14) console.log( - '[WARN] discord-html-transcripts was designed to work with v13, but you are using v14. Please note that some bugs may occur.' + '[WARN] discord-html-transcripts will no longer support v13 in a later release, please update to v14.' ); // because of needing to support v13/14, you may seem some weird typescript "hacks"