Open VidulHB opened 3 years ago
error = const { Structures } = require("discord.js"); const MusicHandler = require("../structures/MusicHandler");
const Guild = Structures.get("Guild"); <-- get Is Not Defined
class MusicGuild extends Guild { constructor(client, data) { super(client, data); this.music = new MusicHandler(this); } }
Structures.extend("Guild", () => MusicGuild);
https://github.com/discordjs/discord.js/pull/6027
why is this issue still open?
error = const { Structures } = require("discord.js"); const MusicHandler = require("../structures/MusicHandler");
const Guild = Structures.get("Guild"); <-- get Is Not Defined
class MusicGuild extends Guild { constructor(client, data) { super(client, data); this.music = new MusicHandler(this); } }
Structures.extend("Guild", () => MusicGuild);