mirror of
https://github.com/HappyTanuki/BumbleCee.git
synced 2025-10-25 17:35:58 +00:00
34 lines
736 B
C++
34 lines
736 B
C++
#ifndef _BUMBLECEEPP_HPP_
|
|
#define _BUMBLECEEPP_HPP_
|
|
#include <string>
|
|
#include <list>
|
|
#include <mutex>
|
|
#include <Bot.hpp>
|
|
#include <dpp/dpp.h>
|
|
|
|
class BumbleCeepp : public IBot {
|
|
public:
|
|
static BumbleCeepp* GetInstance(std::string Token) {
|
|
static BumbleCeepp Instance(Token);
|
|
return &Instance;
|
|
}
|
|
void enqueue(struct FQueueElement Element);
|
|
struct FQueueElement QueueDelete(int Index);
|
|
|
|
void QueuePlay();
|
|
|
|
uint32_t VoiceJoinedShardId;
|
|
bool Repeat;
|
|
std::mutex YTDLMutex;
|
|
protected:
|
|
private:
|
|
BumbleCeepp(std::string Token);
|
|
|
|
void OnCommand(const dpp::slashcommand_t& Event);
|
|
|
|
std::list<struct FQueueElement> MusicQueue;
|
|
std::mutex QueueMutex;
|
|
bool QueuePlaying;
|
|
};
|
|
|
|
#endif |