From cd5be9de38b9be071e7e47d27061cf62031dff62 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Wed, 6 Jul 2022 05:56:09 -0400 Subject: Cleaning up some stuff; Deprecating botOwner as Admin is required for commands --- AudioBackend.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'AudioBackend.js') diff --git a/AudioBackend.js b/AudioBackend.js index 15fa45e..9873d9a 100644 --- a/AudioBackend.js +++ b/AudioBackend.js @@ -26,7 +26,7 @@ import { joinVoiceChannel, VoiceConnectionStatus } from '@discordjs/voice' -import { MessageActionRow, MessageButton, MessageEmbed } from 'discord.js' +import { MessageEmbed } from 'discord.js' import config from './config.json' assert {type: 'json'} import { readdirSync, writeFile } from 'node:fs' @@ -35,7 +35,6 @@ export let audio; export let files = readdirSync('music'); let fileData; -let runOnce = false export let playerState; export let isAudioStatePaused; -- cgit v1.2.3