19 |
import RandomStatus from '../services/RandomStatus'; |
import RandomStatus from '../services/RandomStatus'; |
20 |
import DebugLogger from '../services/DebugLogger'; |
import DebugLogger from '../services/DebugLogger'; |
21 |
import BaseCLICommand from '../utils/structures/BaseCLICommand'; |
import BaseCLICommand from '../utils/structures/BaseCLICommand'; |
22 |
|
import discordModals from 'discord-modals'; |
23 |
|
|
24 |
export default class DiscordClient extends Client { |
export default class DiscordClient extends Client { |
25 |
private _commands = new Collection<string, BaseCommand>(); |
private _commands = new Collection<string, BaseCommand>(); |
78 |
this.debugLogger = new DebugLogger(this); |
this.debugLogger = new DebugLogger(this); |
79 |
|
|
80 |
DiscordClient.client = this; |
DiscordClient.client = this; |
81 |
|
discordModals(this); |
82 |
} |
} |
83 |
|
|
84 |
get commands(): Collection<string, BaseCommand> { |
get commands(): Collection<string, BaseCommand> { |