mirror of
https://github.com/HappyTanuki/BumbleCee.git
synced 2025-10-26 01:45:15 +00:00
완성?
This commit is contained in:
@@ -13,6 +13,7 @@ public:
|
||||
return &Instance;
|
||||
}
|
||||
void enqueue(struct FQueueElement Element);
|
||||
struct FQueueElement QueueDelete(int Index);
|
||||
|
||||
void QueuePlay();
|
||||
|
||||
|
||||
@@ -6,5 +6,6 @@
|
||||
#include <Commands/Queue.hpp>
|
||||
#include <Commands/Skip.hpp>
|
||||
#include <Commands/Leave.hpp>
|
||||
#include <Commands/Delete.hpp>
|
||||
|
||||
#endif
|
||||
19
include/Commands/Delete.hpp
Normal file
19
include/Commands/Delete.hpp
Normal 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
|
||||
Reference in New Issue
Block a user