16 |
import Cooldown from '../automod/Cooldown'; |
import Cooldown from '../automod/Cooldown'; |
17 |
import StartupManager from '../services/StartupManager'; |
import StartupManager from '../services/StartupManager'; |
18 |
import AutoClear from '../automod/AutoClear'; |
import AutoClear from '../automod/AutoClear'; |
19 |
|
import RandomStatus from '../services/RandomStatus'; |
20 |
|
|
21 |
export default class DiscordClient extends Client { |
export default class DiscordClient extends Client { |
22 |
private _commands = new Collection<string, BaseCommand>(); |
private _commands = new Collection<string, BaseCommand>(); |
39 |
cooldown: Cooldown; |
cooldown: Cooldown; |
40 |
startupManager: StartupManager; |
startupManager: StartupManager; |
41 |
autoClear: AutoClear; |
autoClear: AutoClear; |
42 |
|
randomStatus: RandomStatus; |
43 |
|
|
44 |
static client: DiscordClient; |
static client: DiscordClient; |
45 |
|
|
69 |
this.cooldown = new Cooldown(this); |
this.cooldown = new Cooldown(this); |
70 |
this.startupManager = new StartupManager(this); |
this.startupManager = new StartupManager(this); |
71 |
this.autoClear = new AutoClear(this); |
this.autoClear = new AutoClear(this); |
72 |
|
this.randomStatus = new RandomStatus(this); |
73 |
|
|
74 |
DiscordClient.client = this; |
DiscordClient.client = this; |
75 |
} |
} |