mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +00:00
style(): fixed formatting issues
This commit is contained in:
1 parent
f14b1256ff
commit
105dd3570e
5 files changed
+6
-8
No files matched your search
@@ -1,11 +1,9 @@
|
||||
import { ExtendedGuildQueuePlayerNode } from '../../types/eventTypes';
|
||||
import { EmbedOptions } from '../../types/configTypes';
|
||||
import { randomUUID as uuidv4 } from 'node:crypto';
|
||||
import loggerModule from '../../services/logger';
|
||||
import { Track } from 'discord-player';
|
||||
import { Snowflake } from 'discord.js';
|
||||
import { Logger } from 'pino';
|
||||
import config from 'config';
|
||||
|
||||
// Emitted when the audio player finish playing a track.
|
||||
module.exports = {
|
||||
@@ -38,4 +36,4 @@ module.exports = {
|
||||
|
||||
logger.debug('playerFinish event: Previous now-playing message deleted.');
|
||||
}
|
||||
};
|
||||
};
|
||||
@@ -63,10 +63,10 @@ module.exports = {
|
||||
queue.metadata.lastMessage = announceMessage;
|
||||
}
|
||||
} catch (error) {
|
||||
logger.error(error, `playerStart event: Error trying to send now-playing message.`);
|
||||
logger.error(error, 'playerStart event: Error trying to send now-playing message.');
|
||||
return;
|
||||
}
|
||||
|
||||
logger.debug('playerStart event: now-playing message sent.');
|
||||
}
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user