재생목록 추가기능 추가

This commit is contained in:
2024-01-02 00:40:40 +09:00
parent 5f08bc4c09
commit dd330fbf47
12 changed files with 117 additions and 92 deletions

View File

@@ -6,7 +6,7 @@
#include <FQueueElement.hpp>
#include <thread>
BumbleCeepp::BumbleCeepp(std::string Token) : IBot(Token) {
BumbleCeepp::BumbleCeepp(std::string Token, int TotalShard) : IBot(Token, TotalShard) {
VoiceJoinedShardId = 0;
}
@@ -46,6 +46,7 @@ void BumbleCeepp::QueuePlay(){
dpp::voiceconn* v = JoinedShared->get_voice(Music.guild_id);
if (!v || !v->voiceclient || !v->voiceclient->is_ready()) {
std::cout << "not in voicechat. quit musicplay";
return;
}