Skip to content

Commit

Permalink
update src/structure/Client.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianjnuwu committed Dec 29, 2023
1 parent 767a264 commit 6512d0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/structure/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { promisify } from 'util';
import mongoose from 'mongoose';
import node from './Nodes.js';
import { Vulkava } from 'vulkava';
import { Glob } from 'glob';
import { Glob } from 'Glob';
import colors from 'colors';
import _ from 'dotenv';
_.config({ path: './.env' });
Expand Down Expand Up @@ -59,7 +59,7 @@ export default class KellyWorld extends Client {
}

async loadEvents() {
const events = await glob(`${global.process.cwd()}/src/events/**/*.js`);
const events = await Glob(`${Global.process.cwd()}/src/events/**/*.js`);

Check failure on line 62 in src/structure/Client.js

View workflow job for this annotation

GitHub Actions / 🏜️ Starting the action

'Global' is not defined

events.forEach(async event => {
const file = await import(event);
Expand Down

0 comments on commit 6512d0d

Please sign in to comment.