@evolvejs/core
Version:
An advanced Discord API wrapper with TS and JS support
15 lines (14 loc) • 543 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GuildBanEvents = void 0;
const BaseEvent_1 = require("./BaseEvent");
class GuildBanEvents extends BaseEvent_1.BaseEvent {
constructor(client, user, guild, shard) {
super(shard, client);
this.user = user;
this.guild = guild;
this.guild = new (this.client.structures.get("Guild"))(guild.data, client);
this.user = new (this.client.structures.get("User"))(user.data);
}
}
exports.GuildBanEvents = GuildBanEvents;