mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 14:38:49 +00:00
fix: Fixed most imports and some typescript changes
This commit is contained in:
1 parent
1a7f800ba2
commit
0d9f4bd404
60 files changed
+488
-265
No files matched your search
@@ -1,5 +1,6 @@
|
||||
const { v4: uuidv4 } = require('uuid');
|
||||
const { Events } = require('discord.js');
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import { Events } from 'discord.js';
|
||||
import loggerModule from '../../services/logger';
|
||||
|
||||
module.exports = {
|
||||
name: Events.Debug,
|
||||
@@ -7,8 +8,7 @@ module.exports = {
|
||||
once: false,
|
||||
execute: async (message) => {
|
||||
const executionId = uuidv4();
|
||||
|
||||
const logger = require('../../services/logger').child({
|
||||
const logger = loggerModule.child({
|
||||
source: 'debug.js',
|
||||
module: 'event',
|
||||
name: 'clientDebug',
|
||||
|
||||
Reference in new issue
Block a user