do some mini cleany cleany

This commit is contained in:
Darius
2025-09-26 21:54:16 +02:00
parent cc5ecaf8e0
commit 42ad079589
6 changed files with 13 additions and 9 deletions

View File

@@ -1,5 +1,6 @@
import type { ChatMessage } from "@twurple/chat";
import axios from "axios";
import { Config } from "../config/config.ts";
import { logError, logSuccess } from "../util/logger.ts";
import { BaseCommand } from "./base-command.ts";
import type { ICommandRequirements } from "./interface.ts";
@@ -38,7 +39,7 @@ export class SongCommand extends BaseCommand {
}
async function getSongFromTidal() {
axios.get<ISong>("http://localhost:47836/current").then(
axios.get<ISong>(`${Config.tidal.host}:${Config.tidal.port}/current`).then(
(response) => {
const currentSong = response.data;