/[sudobot]/trunk/src/utils/structures/BaseEvent.ts
ViewVC logotype

Contents of /trunk/src/utils/structures/BaseEvent.ts

Parent Directory Parent Directory | Revision Log Revision Log


Revision 51 - (show annotations)
Mon Jul 29 17:28:23 2024 UTC (8 months, 2 weeks ago) by rakin
File MIME type: application/typescript
File size: 260 byte(s)
Release version 2.0
1 import DiscordClient from '../../client/Client';
2
3 export default abstract class BaseEvent {
4 constructor(private name: string) {
5
6 }
7
8 getName(): string {
9 return this.name;
10 }
11
12 abstract run(client: DiscordClient, ...args: any): void;
13 }

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26