Search in sources :

Example 1 with LoggerManager

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;
}
Also used : LoggerManager(com.sx4.bot.managers.LoggerManager)

Aggregations

LoggerManager (com.sx4.bot.managers.LoggerManager)1