mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-05 06:28:52 +00:00
style(): fixed formatting issues
This commit is contained in:
1 parent
f14b1256ff
commit
105dd3570e
3 files changed
+2
-4
No files matched your search
+1
-1
@@ -30,7 +30,7 @@
|
||||
"deploy": "node ./dist/utils/deploySlashCommands.js",
|
||||
"predev": "npx prisma generate && npx prisma db push",
|
||||
"dev": "concurrently --names \"TSC,TOC,BOT\" --prefix-colors \"yellow,blue,green\" \"npx tsc -w\" \"nodemon -w locales/en -x npm run toc\" \"nodemon -x npm run start\"",
|
||||
"eslint": "eslint ./src",
|
||||
"eslint": "eslint ./src --fix",
|
||||
"prebuild": "npm run toc",
|
||||
"build": "tsc",
|
||||
"toc": "i18next-resources-for-ts interface -i ./locales/en -o ./locales/resources.d.ts",
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -63,7 +63,7 @@ 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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user