Changed to deno suport

This commit is contained in:
Lukian 2024-12-23 23:34:14 +01:00
parent f69802edc9
commit 785afbdec5
28 changed files with 531 additions and 88 deletions

View file

@ -1,6 +1,6 @@
import { SlashCommandBuilder, CommandInteraction, PermissionsBitField } from "discord.js";
import { connectToDb, getGuild, addGuild } from "../../libs/mysql.js"
import { errorEmbed, successEmbed } from "../../libs/discord.js";
import { SlashCommandBuilder, CommandInteraction, PermissionsBitField } from "npm:discord.js";
import { connectToDb, getGuild, addGuild } from "../../libs/mysql.ts"
import { errorEmbed, successEmbed } from "../../libs/discord.ts";
export default {
data: new SlashCommandBuilder()