This commit is contained in:
OfficialDakari 2024-10-18 20:45:43 +05:00
parent 4889f68b94
commit 86a60f4e2b
1 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,11 @@
import YTMusic from "ytmusic-api";
import { config } from "../index.js";
import { Config } from "../config.js";
import { parse } from "yaml";
import { readFileSync } from 'fs';
const config: Config = parse(
readFileSync('config.yml', 'utf-8')
);
const ytmApi = new YTMusic({
proxy: config.proxy