Added todo(?)

This commit is contained in:
Logan Cusano
2024-02-11 04:50:18 -05:00
parent a90a5cf206
commit 724cc55c6e

View File

@@ -47,6 +47,7 @@ export const nodeLoginWrapper = async (data, socket) => {
* @returns {any} * @returns {any}
*/ */
export const nodeDisconnectWrapper = async (socketId) => { export const nodeDisconnectWrapper = async (socketId) => {
// TODO - Let any server know that a bot has disconnected if the bot was joined to vc? might not be worth cpu lol
return; return;
} }
@@ -207,7 +208,7 @@ export const requestNodeJoinSystem = async (socket, systemName, discordChanelId)
const joinData = { const joinData = {
'clientID': "MTE5NjAwNTM2ODYzNjExMjk3Nw.GuCMXg.24iNNofNNumq46FIj68zMe9RmQgugAgfrvelEA", 'clientID': "MTE5NjAwNTM2ODYzNjExMjk3Nw.GuCMXg.24iNNofNNumq46FIj68zMe9RmQgugAgfrvelEA",
'channelID': discordChanelId, 'channelID': discordChanelId,
'preset': systemName 'system': systemName
} }
// Send the command to the node // Send the command to the node
await sendNodeCommand(socket, "node-join", joinData); await sendNodeCommand(socket, "node-join", joinData);