Skip to content

Commit

Permalink
Updated packages and code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hwangsihu committed Jul 18, 2024
1 parent b2430a1 commit 58223f3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"homepage": "https://github.com/appujet/lavamusic#readme",
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@types/node": "^20.14.11",
"@types/i18n": "^0.13.12",
"@types/node": "^20.14.11",
"@types/signale": "^1.4.7",
"prisma": "^5.17.0",
"typescript": "^5.5.3"
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import dotenv from "dotenv";
import { SearchEngine, Language } from "./types.js";
import { Language, SearchEngine } from "./types.js";
dotenv.config();

const parseBoolean = (value?: string): boolean => value?.trim().toLowerCase() === "true";
Expand Down
2 changes: 1 addition & 1 deletion src/structures/Context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import {
type TextChannel,
type User,
} from "discord.js";
import type { Lavamusic } from "./index.js";
import { T } from "./I18n.js";
import type { Lavamusic } from "./index.js";

export default class Context {
public ctx: CommandInteraction | Message;
Expand Down
2 changes: 1 addition & 1 deletion src/structures/I18n.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import i18n from "i18n";

import Logger from "./Logger.js";
import { Locale } from "discord.js";
import { Language } from "../types.js";
import Logger from "./Logger.js";

const logger = new Logger();

Expand Down
4 changes: 2 additions & 2 deletions src/structures/Lavamusic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ import {
type RESTPostAPIChatInputApplicationCommandsJSONBody,
Routes,
} from "discord.js";
import { Locale } from "discord.js";
import config from "../config.js";
import ServerData from "../database/server.js";
import loadPlugins from "../plugin/index.js";
import { Utils } from "../utils/Utils.js";
import { T, i18n, initI18n, localization } from "./I18n.js";
import Logger from "./Logger.js";
import { type Command, Queue, ShoukakuClient } from "./index.js";
import { initI18n, T, i18n, localization } from "./I18n.js";
import { Locale } from "discord.js";

const __dirname = path.dirname(fileURLToPath(import.meta.url));

Expand Down

0 comments on commit 58223f3

Please sign in to comment.