Skip to content

Commit

Permalink
3.8.1
Browse files Browse the repository at this point in the history
Remove "setLeaveOnEmpty" message spam in console
  • Loading branch information
AlexInCube committed Sep 21, 2024
1 parent ff71fb6 commit 4ae0359
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aicbot",
"version": "3.8.0",
"version": "3.8.1",
"description": "Discord Bot for playing music",
"main": "build/main.js",
"scripts": {
Expand Down
3 changes: 1 addition & 2 deletions src/audioplayer/PlayerInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { AudioPlayerState } from './AudioPlayerIcons.js';
import { checkBotInVoice } from '../utilities/checkBotInVoice.js';
import i18next from 'i18next';
import { ENV } from '../EnvironmentVariables.js';
import { loggerError, loggerSend } from '../utilities/logger.js';
import { loggerError } from '../utilities/logger.js';
import { generateSimpleEmbed } from '../utilities/generateSimpleEmbed.js';

export class PlayerInstance {
Expand Down Expand Up @@ -248,7 +248,6 @@ export class PlayerInstance {
}

async setLeaveOnEmpty(mode: boolean) {
loggerSend('setLeaveOnEmpty');
this.leaveOnEmpty = mode;
this.embedBuilder.setLeaveOnEmpty(mode);

Expand Down

0 comments on commit 4ae0359

Please sign in to comment.