UNPKG

@evolvejs/core

Version:

An advanced Discord API wrapper with TS and JS support

13 lines (12 loc) 426 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GuildEvents = void 0; const BaseEvent_1 = require("./BaseEvent"); class GuildEvents extends BaseEvent_1.BaseEvent { constructor(client, guild, shard) { super(shard, client); this.guild = guild; this.guild = new (this.client.structures.get("Guild"))(guild.data, client); } } exports.GuildEvents = GuildEvents;