Adding handlers for discord presense

This commit is contained in:
Logan Cusano
2024-05-05 18:24:59 -04:00
parent 9d0aa0191f
commit 0fd511cfaf
2 changed files with 14 additions and 2 deletions

View File

@@ -75,6 +75,15 @@ export const leaveVoiceChannel = async (guildId) => {
});
};
// Set the presense of the discord client
export const setDiscordClientPrsense = (system) => {
return new Promise((res) => {
io.timeout(25000).emit('set_system', { system: system }, (status) => {
res();
});
});
};
// Placeholder functions (replace with actual implementation)
export const checkIfConnectedToVC = async (guildId) => {
console.log("Pdab process var:", pdabProcess);