mirror of
https://github.com/HappyTanuki/BumbleCee.git
synced 2025-10-26 09:55:14 +00:00
join, play 구현
This commit is contained in:
20
include/BumbleCeepp.hpp
Normal file
20
include/BumbleCeepp.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include "Bot.hpp"
|
||||
#include <string>
|
||||
#include <list>
|
||||
|
||||
class BumbleCeepp : public IBot {
|
||||
public:
|
||||
static BumbleCeepp* GetInstance(std::string Token) {
|
||||
static BumbleCeepp Instance(Token);
|
||||
return &Instance;
|
||||
}
|
||||
void enqueue(std::string);
|
||||
std::string dequeue();
|
||||
protected:
|
||||
std::list<std::string> MusicQueue;
|
||||
private:
|
||||
BumbleCeepp(std::string Token);
|
||||
|
||||
void OnCommand(const dpp::slashcommand_t& Event);
|
||||
};
|
||||
Reference in New Issue
Block a user