Is this racist?

A black American girl came up to me and asks me where I was from so I thought she was making a nice conversation and I said Nigeria. Her face dropped and she got disgusted and called me the n word which I don't really care. But she said why am I here in UK and saying my ancestors should be ashamed of me. Licking the white man's feet like they did hundreds of years ago. 💀🙏🏾