Added activity when listening to system

This commit is contained in:
Logan Cusano
2024-02-11 04:49:37 -05:00
parent ed33654b8c
commit 3ebccdba0c
2 changed files with 10 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ export const initSocketConnection = async (localNodeConfig) => {
// TODO - Implement logic to control OP25 for the requested channel/system
// Join the requested channel with the requested ID
initDiscordBotClient(joinData.clientID, client => {
initDiscordBotClient(joinData.clientID, joinData.system, client => {
getVoiceChannelFromID(client, joinData.channelID).then(vc => {
const connection = connectToChannel(vc);
console.log("Bot Connected to VC");