big fix or whatevs

merge-requests/28/head
Matthew 2021-10-16 21:21:14 -04:00
parent 56f7cd50a0
commit 4c012c9518
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 2 additions and 2 deletions

View File

@ -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 }) {