do some mini cleany cleany
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user