big fix or whatevs
parent
56f7cd50a0
commit
4c012c9518
|
@ -3,12 +3,12 @@ import { Member } from 'eris';
|
||||||
import { Client, Event } from '../class';
|
import { Client, Event } from '../class';
|
||||||
import { CloudServicesUtil } from '../util';
|
import { CloudServicesUtil } from '../util';
|
||||||
|
|
||||||
export default class GuildMemberAdd extends Event {
|
export default class GuildMemberUpdate extends Event {
|
||||||
public client: Client;
|
public client: Client;
|
||||||
|
|
||||||
constructor(client: Client) {
|
constructor(client: Client) {
|
||||||
super(client);
|
super(client);
|
||||||
this.event = 'guildMemberAdd';
|
this.event = 'guildMemberUpdate';
|
||||||
}
|
}
|
||||||
|
|
||||||
public async run(_, member: Member, oldMember: { roles: string[], premiumSince: number }) {
|
public async run(_, member: Member, oldMember: { roles: string[], premiumSince: number }) {
|
||||||
|
|
Loading…
Reference in New Issue