fix: more changes to logging

This commit is contained in:
Marius Begby committed 2023-08-26 13:59:48 +02:00
1 parent 7ef666f03d
commit 9d9087d4c3
39 files changed
+403 -260

No files matched your search

+4 -4
View File
@@ -41,7 +41,7 @@ module.exports = {
if (skipToTrack) {
if (skipToTrack > queue.tracks.data.length) {
logger.debug(
`[Shard ${interaction.guild.shardId}] User used command ${interaction.commandName} but track number was higher than total tracks.`
`User used command ${interaction.commandName} but track number was higher than total tracks.`
);
return await interaction.editReply({
embeds: [
@@ -66,7 +66,7 @@ module.exports = {
queue.node.skipTo(skipToTrack - 1);
logger.debug(
`[Shard ${interaction.guild.shardId}] User used command ${interaction.commandName} and skipped to track.`
`User used command ${interaction.commandName} and skipped to track.`
);
return await interaction.editReply({
embeds: [
@@ -86,7 +86,7 @@ module.exports = {
} else {
if (queue.tracks.data.length === 0 && !queue.currentTrack) {
logger.debug(
`[Shard ${interaction.guild.shardId}] User used command ${interaction.commandName} but there was no tracks in queue or current track.`
`User used command ${interaction.commandName} but there was no tracks in queue or current track.`
);
return await interaction.editReply({
embeds: [
@@ -120,7 +120,7 @@ module.exports = {
const loopModeUserString = loopModesFormatted.get(queue.repeatMode);
logger.debug(
`[Shard ${interaction.guild.shardId}] User used command ${interaction.commandName} and skipped track.`
`User used command ${interaction.commandName} and skipped track.`
);
return await interaction.editReply({
embeds: [