use of com.sx4.bot.managers.LoggerManager in project Sx4 by sx4-discord-bot.
the class LoggerHandler method getManager.
private LoggerManager getManager(long channelId) {
if (this.managers.containsKey(channelId)) {
return this.managers.get(channelId);
}
LoggerManager manager = new LoggerManager(this.bot, this.managerExecutor, this.webhookClient, this.webhookExecutor);
this.managers.put(channelId, manager);
return manager;
}
Aggregations