public async Task SaveGuildConfig(GuildConfig cfg) { using (var conn = await _conn.Obtain()) await conn.ExecuteAsync("insert into servers (id, log_channel) values (@Id, @LogChannel) on conflict (id) do update set log_channel = @LogChannel", cfg); _logger.Information("Updated guild configuration {@GuildCfg}", cfg); }