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,5 +1,5 @@
import { Events, Guild } from "discord.js";
import { connectToDb, getGuild, addGuild } from "../libs/mysql.js";
import { Events, Guild } from "npm:discord.js";
import { connectToDb, getGuild, addGuild } from "../libs/mysql.ts";
export default {
name: Events.GuildCreate,
@ -15,4 +15,4 @@ export default {
addGuild(connection, guild.id);
},
};
};