Skip to content

Commit

Permalink
logger hatası
Browse files Browse the repository at this point in the history
  • Loading branch information
Laxuzer authored Nov 24, 2021
1 parent 33e1cf4 commit cd1406d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/CommandHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class CommandHandler {
const checkCommandLoaded = require.cache[require.resolve(`.${commandPath}${path.sep}${commandName}`)];
if (checkCommandLoaded?.loaded) delete require.cache[require.resolve(`.${commandPath}${path.sep}${commandName}`)];
const props = new (require(`.${commandPath}${path.sep}${commandName}`));
this.client.logger.templates.Log('CommandHandler', `Loading Command: ${props.name}. 👌`, "log");
this.client.logger.log('CommandHandler', `Loading Command: ${props.name}. 👌`, "log");
props.location = commandPath;
props.fileName = commandName;
if (props.init) {
Expand Down

0 comments on commit cd1406d

Please sign in to comment.