Hotfix to correct config.json import

This commit is contained in:
Ninjdai1 2023-09-13 21:26:16 +02:00
parent 258d8a3cab
commit 24fc6f5706
11 changed files with 11 additions and 11 deletions

View File

@ -1,6 +1,6 @@
import { SlashCommandBuilder } from 'discord.js';
import { deploy_commands } from '../../functions.mjs';
import config from './config.json' assert { type: 'json' };
import config from '../../config.json' assert { type: 'json' };
const { devId } = config;
export default {

View File

@ -1,5 +1,5 @@
import { EmbedBuilder, SlashCommandBuilder } from 'discord.js';
import config from './config.json' assert { type: 'json' };
import config from '../../config.json' assert { type: 'json' };
const { sanctionChannelId } = config;
export default {

View File

@ -1,5 +1,5 @@
import { EmbedBuilder, SlashCommandBuilder } from 'discord.js';
import config from './config.json' assert { type: 'json' };
import config from '../../config.json' assert { type: 'json' };
const { sanctionChannelId } = config;
export default {

View File

@ -1,5 +1,5 @@
import { EmbedBuilder, SlashCommandBuilder } from 'discord.js';
import config from './config.json' assert { type: 'json' };
import config from '../../config.json' assert { type: 'json' };
const { sanctionChannelId } = config;
export default {

View File

@ -1,5 +1,5 @@
import { EmbedBuilder, SlashCommandBuilder, PermissionFlagsBits } from 'discord.js';
import config from './config.json' assert { type: 'json' };
import config from '../../config.json' assert { type: 'json' };
const { sanctionChannelId } = config;
export default {

View File

@ -1,4 +1,4 @@
import config from './config.json' assert { type: 'json' };
import config from '../config.json' assert { type: 'json' };
const { guildId, generalChannelId, rulesChannelId } = config;
export default {

View File

@ -1,5 +1,5 @@
import { EmbedBuilder } from 'discord.js';
import config from './config.json' assert { type: 'json' };
import config from '../../../../config.json' assert { type: 'json' };
const { sanctionChannelId } = config;
export default {

View File

@ -1,5 +1,5 @@
import { EmbedBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle } from 'discord.js';
import config from './config.json' assert { type: 'json' };
import config from '../../../../config.json' assert { type: 'json' };
const { progressBar } = config;
export default {

View File

@ -1,5 +1,5 @@
import { PermissionFlagsBits, EmbedBuilder, ActionRowBuilder, ButtonBuilder, ChannelType, ButtonStyle, ThreadAutoArchiveDuration } from 'discord.js';
import config from './config.json' assert { type: 'json' };
import config from '../../../../config.json' assert { type: 'json' };
const { progressBar } = config;
export default {

View File

@ -1,5 +1,5 @@
import { PermissionFlagsBits, EmbedBuilder, ActionRowBuilder, ButtonBuilder, ChannelType, ButtonStyle } from 'discord.js';
import config from './config.json' assert { type: 'json' };
import config from '../../../../config.json' assert { type: 'json' };
const { progressBar } = config;
export default {

View File

@ -1,5 +1,5 @@
import { PermissionFlagsBits, EmbedBuilder, ActionRowBuilder, ButtonBuilder, ChannelType, ButtonStyle } from 'discord.js';
import config from './config.json' assert { type: 'json' };
import config from '../../../../config.json' assert { type: 'json' };
const { progressBar } = config;
export default {