This commit is contained in:
2023-12-28 01:32:04 +09:00
parent 52c4bdf3d4
commit 5f08bc4c09
12 changed files with 129 additions and 28 deletions

View File

@@ -13,6 +13,7 @@ public:
return &Instance;
}
void enqueue(struct FQueueElement Element);
struct FQueueElement QueueDelete(int Index);
void QueuePlay();

View File

@@ -6,5 +6,6 @@
#include <Commands/Queue.hpp>
#include <Commands/Skip.hpp>
#include <Commands/Leave.hpp>
#include <Commands/Delete.hpp>
#endif

View File

@@ -0,0 +1,19 @@
#ifndef _DELETE_HPP_
#define _DELETE_HPP_
#include <CommandType.hpp>
#include <BumbleCeepp.hpp>
#include <memory>
namespace Commands {
class Delete : public ICommand {
public:
Delete(std::shared_ptr<BumbleCeepp> Bot);
void operator()(const dpp::slashcommand_t& Event) {}
void operator()(std::list<FQueueElement>& MusicQueue, const dpp::slashcommand_t& Event);
private:
std::shared_ptr<BumbleCeepp> Bot;
};
}
#endif