16 lines
310 B
TypeScript
16 lines
310 B
TypeScript
|
import { Client } from '.';
|
||
|
|
||
|
export default class Event {
|
||
|
public client: Client
|
||
|
|
||
|
public event: string;
|
||
|
|
||
|
constructor(client: Client) {
|
||
|
this.client = client;
|
||
|
this.event = '';
|
||
|
this.run = this.run.bind(this);
|
||
|
}
|
||
|
|
||
|
public async run(...args: any[]): Promise<void> { return Promise.resolve(); }
|
||
|
}
|