sort imports

This commit is contained in:
Mylloon 2023-08-08 22:16:44 +02:00
parent c15a1ac60e
commit c3b710656f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
7 changed files with 16 additions and 16 deletions

View file

@ -1,9 +1,9 @@
import { SlashCommandBuilder } from "@discordjs/builders"; import { SlashCommandBuilder } from "@discordjs/builders";
import { Locale } from "discord-api-types/v9"; import { Locale } from "discord-api-types/v9";
import { Client, ChatInputCommandInteraction, EmbedBuilder, Colors } from "discord.js"; import { ChatInputCommandInteraction, Client, Colors, EmbedBuilder } from "discord.js";
import "../../modules/string";
import { getLocale, getLocalizations } from "../../utils/locales"; import { getLocale, getLocalizations } from "../../utils/locales";
import { getFilename } from "../../utils/misc"; import { getFilename } from "../../utils/misc";
import "../../modules/string";
export default { export default {
scope: () => [], scope: () => [],

View file

@ -1,9 +1,9 @@
import { SlashCommandBuilder } from "@discordjs/builders"; import { SlashCommandBuilder } from "@discordjs/builders";
import { ChatInputCommandInteraction, Client, GuildResolvable } from "discord.js";
import { Metadata } from "../../utils/metadata";
import { getLocale, getLocalizations } from "../../utils/locales";
import { getFilename } from "../../utils/misc";
import { Player, useMainPlayer } from "discord-player"; import { Player, useMainPlayer } from "discord-player";
import { ChatInputCommandInteraction, Client, GuildResolvable } from "discord.js";
import { getLocale, getLocalizations } from "../../utils/locales";
import { Metadata } from "../../utils/metadata";
import { getFilename } from "../../utils/misc";
export default { export default {
scope: () => [], scope: () => [],

View file

@ -1,4 +1,4 @@
import { Client, GuildMember, Message, TextBasedChannel, EmbedBuilder } from "discord.js"; import { Client, EmbedBuilder, GuildMember, Message, TextBasedChannel } from "discord.js";
import { getLocale } from "../../utils/locales"; import { getLocale } from "../../utils/locales";
import { isImage, userWithNickname } from "../../utils/misc"; import { isImage, userWithNickname } from "../../utils/misc";
import { showDate } from "../../utils/time"; import { showDate } from "../../utils/time";

View file

@ -1,8 +1,8 @@
import loadClient, { quit } from "./utils/client";
import loadEvents from "./events/loader";
import loadModals from "./modals/loader";
import loadButtons from "./buttons/loader"; import loadButtons from "./buttons/loader";
import loadCommands from "./commands/loader"; import loadCommands from "./commands/loader";
import loadEvents from "./events/loader";
import loadModals from "./modals/loader";
import loadClient, { quit } from "./utils/client";
import { logStart } from "./utils/misc"; import { logStart } from "./utils/misc";

View file

@ -1,6 +1,6 @@
import { Client } from "discord.js";
import { readdir } from "fs/promises"; import { readdir } from "fs/promises";
import { removeExtension } from "../utils/misc"; import { removeExtension } from "../utils/misc";
import { Client } from "discord.js";
export default async (client: Client) => { export default async (client: Client) => {
// Dossier des modals // Dossier des modals

View file

@ -1,5 +1,5 @@
import { Collection } from "discord.js";
import { SlashCommandBuilder } from "@discordjs/builders"; import { SlashCommandBuilder } from "@discordjs/builders";
import { Collection } from "discord.js";
import { Database } from "sqlite3"; import { Database } from "sqlite3";
export {}; export {};

View file

@ -1,10 +1,10 @@
import { lyricsExtractor } from "@discord-player/extractor";
import { Player } from "discord-player";
import { Client, Collection, GatewayIntentBits } from "discord.js"; import { Client, Collection, GatewayIntentBits } from "discord.js";
import { readFileSync } from "fs"; import { readFileSync } from "fs";
import { loadLocales } from "./locales";
import "../modules/client";
import { Database } from "sqlite3"; import { Database } from "sqlite3";
import { Player } from "discord-player"; import "../modules/client";
import { lyricsExtractor } from "@discord-player/extractor"; import { loadLocales } from "./locales";
/** Creation of the client and definition of its properties. */ /** Creation of the client and definition of its properties. */
export default async () => { export default async () => {