mirror of
https://github.com/Art-Portal/April.git
synced 2024-11-16 11:37:37 +01:00
Hotfix to correct config.json import
This commit is contained in:
parent
258d8a3cab
commit
24fc6f5706
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user