diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-04-22 23:01:50 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-04-22 23:01:50 -0400 |
| commit | 219b64b51b0297469c7a0401767d7f533c8ac7c3 (patch) | |
| tree | 8fda370a9b32226399ba2a40be17857470c5cca6 /AudioBackend.js | |
| parent | a555449001cbe87503e5ffe9b311aceb59592c63 (diff) | |
| download | DLAP-219b64b51b0297469c7a0401767d7f533c8ac7c3.tar.gz DLAP-219b64b51b0297469c7a0401767d7f533c8ac7c3.tar.bz2 DLAP-219b64b51b0297469c7a0401767d7f533c8ac7c3.zip | |
Buttons can now be disabled from control
Diffstat (limited to 'AudioBackend.js')
| -rw-r--r-- | AudioBackend.js | 3 |
1 files changed, 1 insertions, 2 deletions
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); |
