mirror of
https://github.com/HappyTanuki/BumbleCee.git
synced 2025-10-26 09:55:14 +00:00
스킵 구현
This commit is contained in:
@@ -6,14 +6,20 @@ using json = nlohmann::json;
|
||||
|
||||
int main() {
|
||||
json configdocument;
|
||||
std::ifstream configfile("../config.json");
|
||||
std::ifstream configfile("config.json");
|
||||
configfile >> configdocument;
|
||||
|
||||
std::shared_ptr<BumbleCeepp> BumbleBee(BumbleCeepp::GetInstance(configdocument["token"]));
|
||||
|
||||
Play Command1(BumbleBee);
|
||||
Repeat Command2(BumbleBee);
|
||||
Queue Command3(BumbleBee);
|
||||
Skip Command4(BumbleBee);
|
||||
|
||||
BumbleBee->AddCommand(Command1);
|
||||
BumbleBee->AddCommand(Command2);
|
||||
BumbleBee->AddCommand(Command3);
|
||||
BumbleBee->AddCommand(Command4);
|
||||
|
||||
BumbleBee->Start();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user