mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-02 22:16:13 +00:00
19 lines
506 B
TypeScript
19 lines
506 B
TypeScript
import { randomUUID as uuidv4 } from 'node:crypto';
|
|
import { loggerService, Logger } from '../../common/services/logger';
|
|
|
|
module.exports = {
|
|
name: 'debug',
|
|
isDebug: true,
|
|
isPlayerEvent: false,
|
|
execute: async (message: string) => {
|
|
const executionId: string = uuidv4();
|
|
const logger: Logger = loggerService.child({
|
|
module: 'event',
|
|
name: 'playerGeneralDebug',
|
|
executionId: executionId
|
|
});
|
|
|
|
logger.debug(message);
|
|
}
|
|
};
|