mirror of
https://github.com/HappyTanuki/BumbleCee.git
synced 2025-10-26 09:55:14 +00:00
와! 소리가 나요! 근데 도당체 코루틴은 왜 안 되는데;
This commit is contained in:
@@ -9,10 +9,18 @@
|
||||
class BumbleCeepp : public IBot {
|
||||
public:
|
||||
BumbleCeepp(std::string token, std::string DBURL, std::string DBID, std::string DBPassword, int clusterCount = 0);
|
||||
~BumbleCeepp();
|
||||
|
||||
void enqueueMusic(FQueueElement item, dpp::discord_voice_client* vc);
|
||||
dpp::embed findEmbed(std::string musicID);
|
||||
dpp::embed makeEmbed(
|
||||
std::shared_ptr<dpp::embed> findEmbed(std::string musicID);
|
||||
bool insertDB(
|
||||
std::string webpage_url,
|
||||
std::string title,
|
||||
std::string uploader,
|
||||
std::string id,
|
||||
std::string thumbnail,
|
||||
time_t duration);
|
||||
std::shared_ptr<dpp::embed> makeEmbed(
|
||||
std::string webpage_url,
|
||||
std::string title,
|
||||
std::string uploader,
|
||||
@@ -26,5 +34,5 @@ public:
|
||||
private:
|
||||
//<guild_id, queueMutex> 쌍임.
|
||||
std::unordered_map<dpp::snowflake, std::mutex> enqueuingMutexMap;
|
||||
std::unordered_map<std::string, dpp::embed> musicEmbedMap;
|
||||
sql::Connection* conn;
|
||||
};
|
||||
Reference in New Issue
Block a user