Removed useless dotenv

This commit is contained in:
Supositware 2022-08-30 23:02:36 +02:00
parent 069639a4c5
commit 18607ba90e
8 changed files with 0 additions and 16 deletions

View file

@ -7,8 +7,6 @@ import fs from 'node:fs';
import db from '../../models/index.js';
import wordToCensor from '../../json/censor.json' assert {type: 'json'};
import dotenv from 'dotenv';
dotenv.config();
const { twiConsumer, twiConsumerSecret, twiToken, twiTokenSecret, twiChannel, twiLogChannel } = process.env;
const Blacklists = db.Blacklists;

View file

@ -1,8 +1,6 @@
import { SlashCommandBuilder } from 'discord.js';
import Twit from 'twit';
import dotenv from 'dotenv';
dotenv.config();
const { twiConsumer, twiConsumerSecret, twiToken, twiTokenSecret } = process.env;
export default {

View file

@ -4,8 +4,6 @@ import { exec } from 'node:child_process';
import db from '../../models/index.js';
const donator = db.donator;
import dotenv from 'dotenv';
dotenv.config();
const { ownerId } = process.env;
export default {

View file

@ -2,8 +2,6 @@ import db from '../../models/index.js';
const guildBlacklist = db.guildBlacklist;
import { EmbedBuilder } from 'discord.js';
import dotenv from 'dotenv';
dotenv.config();
const { statusChannel, NODE_ENV } = process.env;
export default {

View file

@ -2,8 +2,6 @@ import db from '../../models/index.js';
const guildBlacklist = db.guildBlacklist;
import { EmbedBuilder } from 'discord.js';
import dotenv from 'dotenv';
dotenv.config();
const { statusChannel, NODE_ENV } = process.env;
export default {

View file

@ -2,8 +2,6 @@ import { PermissionFlagsBits, InteractionType } from 'discord.js';
import db from '../../models/index.js';
const ratelimit = {};
import dotenv from 'dotenv';
dotenv.config();
const { ownerId } = process.env;
export default {

View file

@ -1,6 +1,4 @@
import { exec } from 'node:child_process';
import dotenv from 'dotenv';
dotenv.config();
const { statusChannel, NODE_ENV } = process.env;
export default {

View file

@ -1,6 +1,4 @@
import https from 'node:https';
import dotenv from 'dotenv';
dotenv.config();
const { uptimeURL, uptimeInterval } = process.env;
export default {