46 |
import ServiceManager from './ServiceManager'; |
import ServiceManager from './ServiceManager'; |
47 |
import ChannelLockManager from '../services/ChannelLockManager'; |
import ChannelLockManager from '../services/ChannelLockManager'; |
48 |
import Cooldown from '../services/Cooldown'; |
import Cooldown from '../services/Cooldown'; |
49 |
|
import ProfileFilter from '../automod/ProfileFilter'; |
50 |
|
|
51 |
export default class DiscordClient extends Client { |
export default class DiscordClient extends Client { |
52 |
private _commands = new Collection<string, BaseCommand>(); |
private _commands = new Collection<string, BaseCommand>(); |
79 |
automute: Automute = {} as Automute; |
automute: Automute = {} as Automute; |
80 |
channelLock: ChannelLockManager = {} as ChannelLockManager; |
channelLock: ChannelLockManager = {} as ChannelLockManager; |
81 |
cooldown: Cooldown = {} as Cooldown; |
cooldown: Cooldown = {} as Cooldown; |
82 |
|
profileFilter: ProfileFilter = {} as ProfileFilter; |
83 |
|
|
84 |
aliases = { |
aliases = { |
85 |
automod: path.resolve(__dirname, '..', 'automod'), |
automod: path.resolve(__dirname, '..', 'automod'), |
105 |
"@automod/Antijoin": "antijoin", |
"@automod/Antijoin": "antijoin", |
106 |
"@automod/Automute": "automute", |
"@automod/Automute": "automute", |
107 |
"@services/Cooldown": "cooldown", |
"@services/Cooldown": "cooldown", |
108 |
|
"@automod/ProfileFilter": "profileFilter", |
109 |
}; |
}; |
110 |
|
|
111 |
static client: DiscordClient; |
static client: DiscordClient; |