From d7f4e5b7a5b93d3c8cec8f2b483ae8b7d1405bf9 Mon Sep 17 00:00:00 2001 From: Ryan Cao <70191398+ryanccn@users.noreply.github.com> Date: Fri, 3 Jun 2022 00:34:51 +0800 Subject: [PATCH] minor refactor --- index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.ts b/index.ts index ae72cf8..676a164 100644 --- a/index.ts +++ b/index.ts @@ -63,12 +63,12 @@ client.once('ready', async () => { if ( process.env.NODE_ENV === 'development' && - e.channelId !== '977401259260788756' + e.channelId !== BuildConfig.DEBUG_CHANNEL_ID ) { return; } else if ( process.env.NODE_ENV !== 'development' && - e.channelId === '977401259260788756' + e.channelId === BuildConfig.DEBUG_CHANNEL_ID ) { return; }