Removed dev comments stopping OP25
All checks were successful
Run Discord Radio Bot v3 Tests / test (push) Successful in 48s

This commit is contained in:
Logan Cusano
2024-04-14 16:39:24 -04:00
parent 8c3164029f
commit 45b9a62c64

View File

@@ -15,7 +15,7 @@ export const joinDiscordVC = async (joinData) => {
// Open a new client and join the requested channel with the requested ID
initDiscordBotClient(joinData.clientID, () => {
// Open an instance of OP25
// TODO DELTE comment DEV ONLY openOP25(joinData.system);
openOP25(joinData.system);
// Add the client object to the IO instance
connectToChannel(joinData.channelID, (connectionStatus) => {
@@ -46,7 +46,7 @@ export const leaveDiscordVC = async (guildId) => {
console.log("Client should remain open: ", clientRemainsOpen);
if (!clientRemainsOpen) {
console.log("There are no open VC connections");
// TODO DELETE comment DEV ONLY await closeOP25();
await closeOP25();
// Close the python client
await requestDiscordClientClose();