Moved to esm

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-08-23 17:59:00 +02:00
parent 31b88396ea
commit 3f7f23d4b3
123 changed files with 575 additions and 510 deletions

View File

@@ -1,6 +1,6 @@
import { ChatInputCommandInteraction, GuildMember, userMention } from "discord.js"
import { countingBanned } from "config/roles"
import { embedColor, devMessage } from "config/options"
import { countingBanned } from "config/roles.js"
import { embedColor, devMessage } from "config/options.js"
export default async function ban(interaction: ChatInputCommandInteraction): Promise<void> {
const member = interaction.options.getMember("user")! as GuildMember

View File

@@ -1,6 +1,6 @@
import { ChatInputCommandInteraction, GuildMember, userMention } from "discord.js"
import { countingBanned } from "config/roles"
import { embedColor, devMessage } from "config/options"
import { countingBanned } from "config/roles.js"
import { embedColor, devMessage } from "config/options.js"
export default async function ban(interaction: ChatInputCommandInteraction): Promise<void> {
const member = interaction.options.getMember("user")! as GuildMember