Skip to content

Commit

Permalink
fix(music): rename event names for connect and disconnect (#1127)
Browse files Browse the repository at this point in the history
Co-authored-by: Max <max@zapteryx.com>
  • Loading branch information
xayanide and zapteryx authored Jul 1, 2024
1 parent 5dbb251 commit 302901b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { data, logger } from '#src/lib/util/common.js';
import { get } from 'lodash-es';

export default {
name: 'connect',
name: 'connected',
once: false,
async execute(): Promise<void> {
const { bot } = await import('#src/main.js');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { logger } from '#src/lib/util/common.js';

export default {
name: 'disconnect',
name: 'disconnected',
once: false,
execute(): void {
logger.warn({ message: 'Disconnected.', label: 'Lavalink' });
Expand Down

0 comments on commit 302901b

Please sign in to comment.