🚚 deployCommands folder

This commit is contained in:
Axel Olausson Holtenäs 2022-06-11 18:24:56 +02:00
parent 46bb4b6f6d
commit 8e59690fe0
No known key found for this signature in database
GPG key ID: 7BF6826B76382CBA

View file

@ -1,13 +1,13 @@
import { token, clientId } from "../config/discord";
import { devMode, guildId } from "../config/other";
import { token, clientId } from "../../config/discord";
import { devMode, guildId } from "../../config/other";
import logger from "../logger";
import logger from "../../logger";
import { Client } from "discord.js";
import { REST } from "@discordjs/rest";
import { Routes } from "discord-api-types/v9";
import { RESTPostAPIApplicationCommandsJSONBody } from "discord-api-types/v10";
import { ICommand } from "../interfaces/Command";
import { ICommand } from "../../interfaces/Command";
export default async (client: Client) => {
const commandList: Array<RESTPostAPIApplicationCommandsJSONBody> = [];