Added todo(?)
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user