public GuildSettings Transform(IHandlerFactory handlerFactory) { return(new GuildSettings() { GuildId = this.GuildId, CommandPrefix = this.CommandPrefix, WelcomeChannelId = this.WelcomeChannelId, RoleGainChannelId = this.RoleGainChannelId, Handlers = Services.SelectMany(x => handlerFactory.GetHandlerCollection(x)).ToList() }); }