From 219b64b51b0297469c7a0401767d7f533c8ac7c3 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 22 Apr 2022 23:01:50 -0400 Subject: Buttons can now be disabled from control --- AudioBackend.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'AudioBackend.js') diff --git a/AudioBackend.js b/AudioBackend.js index b5d5be6..f552a67 100644 --- a/AudioBackend.js +++ b/AudioBackend.js @@ -29,7 +29,6 @@ import { import { MessageEmbed } from 'discord.js' import config from './config.json' assert {type: 'json'} import { readdirSync, writeFile } from 'node:fs' -import {controlEmbed} from "./commands/control.js"; export const player = createAudioPlayer(); export let audio; @@ -146,7 +145,7 @@ export async function stopBot(bot, interaction) { if (!statusChannel) return console.error('The status channel does not exist! Skipping.'); await statusChannel.send({embeds: [statusEmbed]}); - console.log('Powering off...'); + console.log(`Powering off ${bot.user.username}...`); await destroyAudio(interaction); bot.destroy(); return process.exit(0); -- cgit v1.2.3