Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
IdanKoblik committed Dec 13, 2024
1 parent accd54e commit 4913932
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
const { EmbedBuilder, WebhookClient } = require('discord.js');
const { port, tokens } = require('./config.json');
const Gravatar = require('./utils/gravatar');
const path = require('path');
const express = require('express');
const pino = require('pino');
const fs = require('fs');

let configPath = '/home/container/config.json';

if (fs.existsSync(path.join(__dirname, 'config.json')))
configPath = path.join(__dirname, 'config.json');

const { port, tokens } = require(configPath);

const maskSensitiveInfo = (value) => {
if (!value)
Expand Down

0 comments on commit 4913932

Please sign in to comment.