Removed dev comments stopping OP25
All checks were successful
Run Discord Radio Bot v3 Tests / test (push) Successful in 48s
All checks were successful
Run Discord Radio Bot v3 Tests / test (push) Successful in 48s
This commit is contained in:
@@ -15,7 +15,7 @@ export const joinDiscordVC = async (joinData) => {
|
|||||||
// Open a new client and join the requested channel with the requested ID
|
// Open a new client and join the requested channel with the requested ID
|
||||||
initDiscordBotClient(joinData.clientID, () => {
|
initDiscordBotClient(joinData.clientID, () => {
|
||||||
// Open an instance of OP25
|
// Open an instance of OP25
|
||||||
// TODO DELTE comment DEV ONLY openOP25(joinData.system);
|
openOP25(joinData.system);
|
||||||
|
|
||||||
// Add the client object to the IO instance
|
// Add the client object to the IO instance
|
||||||
connectToChannel(joinData.channelID, (connectionStatus) => {
|
connectToChannel(joinData.channelID, (connectionStatus) => {
|
||||||
@@ -46,7 +46,7 @@ export const leaveDiscordVC = async (guildId) => {
|
|||||||
console.log("Client should remain open: ", clientRemainsOpen);
|
console.log("Client should remain open: ", clientRemainsOpen);
|
||||||
if (!clientRemainsOpen) {
|
if (!clientRemainsOpen) {
|
||||||
console.log("There are no open VC connections");
|
console.log("There are no open VC connections");
|
||||||
// TODO DELETE comment DEV ONLY await closeOP25();
|
await closeOP25();
|
||||||
|
|
||||||
// Close the python client
|
// Close the python client
|
||||||
await requestDiscordClientClose();
|
await requestDiscordClientClose();
|
||||||
|
|||||||
Reference in New Issue
Block a user