mirror of
https://github.com/HappyTanuki/BumbleCee.git
synced 2025-10-26 09:55:14 +00:00
스킵 구현
This commit is contained in:
17
include/Commands/Repeat.hpp
Normal file
17
include/Commands/Repeat.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef _REPEAT_HPP_
|
||||
#define _REPEAT_HPP_
|
||||
#include <CommandType.hpp>
|
||||
#include <BumbleCeepp.hpp>
|
||||
#include <memory>
|
||||
|
||||
class Repeat : public ICommand {
|
||||
public:
|
||||
Repeat(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
|
||||
17
include/Commands/Skip.hpp
Normal file
17
include/Commands/Skip.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef _SKIP_HPP_
|
||||
#define _SKIP_HPP_
|
||||
#include <CommandType.hpp>
|
||||
#include <BumbleCeepp.hpp>
|
||||
#include <memory>
|
||||
|
||||
class Skip : public ICommand {
|
||||
public:
|
||||
Skip(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