Skip to content

Commit aad5f86

Browse files
committed
extract into env.ts
1 parent 94eddee commit aad5f86

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/env.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ export const dormantChannelTimeout = parseInt(
3333
);
3434
export const dormantChannelLoop = parseInt(process.env.DORMANT_CHANNEL_LOOP!);
3535
export const TS_BLUE = '#007ACC';
36+
export const GREEN = '#77b155';

src/modules/helpchan.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import { HelpUser } from '../entities/HelpUser';
1717
import {
1818
categories,
1919
TS_BLUE,
20+
GREEN,
2021
askCooldownRoleId,
2122
channelNames,
2223
dormantChannelTimeout,
@@ -33,7 +34,7 @@ export class HelpChanModule extends Module {
3334
CHANNEL_PREFIX = 'help-';
3435

3536
AVAILABLE_EMBED = new MessageEmbed()
36-
.setColor('#77b155')
37+
.setColor(GREEN)
3738
.setDescription(
3839
'✅ **Send your question here to claim the channel**\n' +
3940
'This channel will be dedicated to answering your question only. Others will try to answer and help you solve the issue.\n\n' +

0 commit comments

Comments
 (0)