mirror of
https://github.com/HappyTanuki/BumbleCee.git
synced 2025-10-26 09:55:14 +00:00
일단은 임시저장, 스트리밍의 실마리를 잡았다
This commit is contained in:
30
include/Settings/SettingsManager.hpp
Normal file
30
include/Settings/SettingsManager.hpp
Normal file
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
#ifndef _SETTINGSMANAGER_HPP_
|
||||
#define _SETTINGSMANAGER_HPP_
|
||||
#include <string>
|
||||
#include <dpp/nlohmann/json.hpp>
|
||||
#include <fstream>
|
||||
|
||||
namespace bumbleBee {
|
||||
class settingsManager {
|
||||
public:
|
||||
/// @brief 봇 토큰
|
||||
static std::string TOKEN;
|
||||
/// @brief yt-dlp 실행 명령어
|
||||
static std::string YTDLP_CMD;
|
||||
/// @brief ffmpeg 실행 명령어
|
||||
static std::string FFMPEG_CMD;
|
||||
/// @brief db접속 url
|
||||
static std::string DBURL;
|
||||
/// @brief db접속 유저
|
||||
static std::string DBUSER;
|
||||
/// @brief db접속 비밀번호
|
||||
static std::string DBPASSWORD;
|
||||
|
||||
|
||||
static void load();
|
||||
|
||||
static void saveToFile();
|
||||
};
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user