accept user discord implementation
This commit is contained in:
@@ -5,7 +5,10 @@ import client from "lib/client";
|
||||
export class LogChannelService {
|
||||
private logger = createLogger("LogChannelService");
|
||||
|
||||
private logChannelId = config.channelMapping.text.log;
|
||||
private logChannelId =
|
||||
process.env.NODE_ENV === "production"
|
||||
? config.channelMapping.text.log
|
||||
: config.channelMapping.text.testing;
|
||||
|
||||
async getLogChannel() {
|
||||
this.logger.debug(`fetching log channel with ID: ${this.logChannelId}`);
|
||||
|
||||
Reference in New Issue
Block a user