Updated Structure

This commit is contained in:
2024-11-13 18:25:29 +01:00
parent 41a411687b
commit b4ccaf837d
25 changed files with 695 additions and 1035 deletions
+14
View File
@@ -0,0 +1,14 @@
const { getVoiceConnection } = require("@discordjs/voice");
import {stopMethodOptions} from "../Utils/Options/StopMethodOptions";
export function stopAudio({
GuildID
}: stopMethodOptions) {
try {
let audioConnection = getVoiceConnection(GuildID);
audioConnection.destroy();
} catch (err) {
console.error(err);
}
}