음악 큐/재생 구현 todo:음성 잔랙 없애기

This commit is contained in:
2023-12-14 02:39:12 +09:00
parent b2f40f21cf
commit 6503fd167b
21 changed files with 356 additions and 232 deletions

View File

@@ -1,10 +1,17 @@
#pragma once
#include "../CommandType.hpp"
#ifndef _QUEUE_HPP_
#define _QUEUE_HPP_
#include <CommandType.hpp>
#include <BumbleCeepp.hpp>
#include <memory>
class Queue : public ICommand {
public:
Queue(dpp::snowflake Id);
Queue(std::shared_ptr<BumbleCeepp> Bot);
void operator()(const dpp::slashcommand_t& Event) {}
void operator()(std::list<std::string>& MusicQueue, const dpp::slashcommand_t& Event);
};
void operator()(std::list<FQueueElement>& MusicQueue, const dpp::slashcommand_t& Event);
private:
std::shared_ptr<BumbleCeepp> Bot;
};
#endif