2차 리팩터터

This commit is contained in:
2025-02-13 16:50:03 +09:00
parent 52146c1f6a
commit 00134ee7b1
3 changed files with 8 additions and 4 deletions

View File

@@ -1,7 +1,8 @@
#!/bin/bash #!/bin/bash
(
cd build cd build
cmake .. && make cmake .. && make
cd .. )
cat password | docker login -u happytanuki12 --password-stdin docker login -u happytanuki12 --password-stdin < password
docker build --tag happytanuki12/bumblebee:latest . docker build --tag happytanuki12/bumblebee:latest .
docker push happytanuki12/bumblebee:latest docker push happytanuki12/bumblebee:latest

View File

@@ -14,6 +14,8 @@ RUN apt-get install -y python3-brotli
RUN apt-get install -y python3-websockets RUN apt-get install -y python3-websockets
RUN apt-get install -y python3-requests RUN apt-get install -y python3-requests
RUN apt-get install -y python3-mutagen RUN apt-get install -y python3-mutagen
RUN apt-get clean
RUN rm -rf /var/lib/apt/lists/*
RUN pip3 install --break-system-packages --no-cache-dir curl_cffi RUN pip3 install --break-system-packages --no-cache-dir curl_cffi
RUN pip3 install --break-system-packages --no-cache-dir pycryptodome RUN pip3 install --break-system-packages --no-cache-dir pycryptodome
RUN curl -Lo dpp.deb https://dl.dpp.dev/ RUN curl -Lo dpp.deb https://dl.dpp.dev/

View File

@@ -52,6 +52,7 @@ public:
MusicQueueElement getNowPlaying(const dpp::snowflake guildId); MusicQueueElement getNowPlaying(const dpp::snowflake guildId);
std::condition_variable queuedCondition; std::condition_variable queuedCondition;
private: private:
std::shared_ptr<dpp::cluster> cluster; std::shared_ptr<dpp::cluster> cluster;