minor refactor
This commit is contained in:
parent
8fe787637f
commit
d7f4e5b7a5
1 changed files with 2 additions and 2 deletions
4
index.ts
4
index.ts
|
@ -63,12 +63,12 @@ client.once('ready', async () => {
|
||||||
|
|
||||||
if (
|
if (
|
||||||
process.env.NODE_ENV === 'development' &&
|
process.env.NODE_ENV === 'development' &&
|
||||||
e.channelId !== '977401259260788756'
|
e.channelId !== BuildConfig.DEBUG_CHANNEL_ID
|
||||||
) {
|
) {
|
||||||
return;
|
return;
|
||||||
} else if (
|
} else if (
|
||||||
process.env.NODE_ENV !== 'development' &&
|
process.env.NODE_ENV !== 'development' &&
|
||||||
e.channelId === '977401259260788756'
|
e.channelId === BuildConfig.DEBUG_CHANNEL_ID
|
||||||
) {
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue