Skip to content

Commit

Permalink
Update Event.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Laxuzer authored Mar 27, 2022
1 parent 513cc6f commit ae73f46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/base/Event.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Client = require('./Client');
*/
module.exports = class Event {
/**
* @param {{client: Client, name: string, enabled?: boolean, run: (...) => Promise<void> | void}} param1
* @param {{client: Client, name: keyof import('discord.js').ClientEvents, enabled?: boolean, run: (...) => Promise<void> | void}} param1
*/
constructor({
client,
Expand All @@ -21,4 +21,4 @@ module.exports = class Event {
this.enabled = enabled;
this.run = run;
}
}
}

0 comments on commit ae73f46

Please sign in to comment.