public UserHandler(DiscordSocketClient client, ConfigRepo configRepo, BanRepo banRepo) { this.banRepo = banRepo; this.configRepo = configRepo; this.client = client; client.UserJoined += UserJoined; client.UserLeft += UserLeft; client.UserBanned += UserBanned; }
public BanHandler(ConfigRepo configRepo, BanRepo banRepo, DiscordSocketClient client) { this.client = client; this.banRepo = banRepo; this.configRepo = configRepo; }