21 |
import discordModals from 'discord-modals'; |
import discordModals from 'discord-modals'; |
22 |
import SpamFilter from '../automod/SpamFilter'; |
import SpamFilter from '../automod/SpamFilter'; |
23 |
import Verification from '../services/Verification'; |
import Verification from '../services/Verification'; |
24 |
|
import Welcomer from '../services/Welcomer'; |
25 |
|
|
26 |
export default class DiscordClient extends Client { |
export default class DiscordClient extends Client { |
27 |
private _commands = new Collection<string, BaseCommand>(); |
private _commands = new Collection<string, BaseCommand>(); |
48 |
randomStatus: RandomStatus; |
randomStatus: RandomStatus; |
49 |
debugLogger: DebugLogger; |
debugLogger: DebugLogger; |
50 |
verification: Verification; |
verification: Verification; |
51 |
|
welcomer: Welcomer; |
52 |
|
|
53 |
static client: DiscordClient; |
static client: DiscordClient; |
54 |
|
|
85 |
this.randomStatus = new RandomStatus(this); |
this.randomStatus = new RandomStatus(this); |
86 |
this.debugLogger = new DebugLogger(this); |
this.debugLogger = new DebugLogger(this); |
87 |
this.verification = new Verification(this); |
this.verification = new Verification(this); |
88 |
|
this.welcomer = new Welcomer(this); |
89 |
|
|
90 |
discordModals(this); |
discordModals(this); |
91 |
} |
} |