Skip to content

Commit

Permalink
changed debug event location
Browse files Browse the repository at this point in the history
  • Loading branch information
Casca0 committed Sep 11, 2023
1 parent d09a985 commit 6a8c259
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/events/debug.js

This file was deleted.

6 changes: 6 additions & 0 deletions src/events/ready.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
const { useMainPlayer } = require('discord-player');

module.exports = {
name: 'ready',
once: true,
execute(client) {
const player = useMainPlayer();

console.log(`Ready! Logged in as ${client.user.tag}`);

player.events.on('debug', (queue, message) => console.log(`[DEBUG ${queue.guild.id}] ${message}`));
},
};

0 comments on commit 6a8c259

Please sign in to comment.