mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +00:00
fix: more type annotation
This commit is contained in:
1 parent
3ac692d8eb
commit
2560f0fe9a
65 files changed
+408
-343
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { Logger } from 'pino';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
|
||||
import loggerModule from '../../services/logger';
|
||||
|
||||
module.exports = {
|
||||
@@ -7,8 +7,8 @@ module.exports = {
|
||||
isDebug: true,
|
||||
isPlayerEvent: true,
|
||||
execute: async (message: string) => {
|
||||
const executionId = uuidv4();
|
||||
const logger = loggerModule.child({
|
||||
const executionId: string = uuidv4();
|
||||
const logger: Logger = loggerModule.child({
|
||||
source: 'playerDebug.js',
|
||||
module: 'event',
|
||||
name: 'playerDebug',
|
||||
|
||||
Reference in new issue
Block a user