How to get 1 year old off bottle?

I think my daughters bottle is like a security blanket, like she has to have it when she goes to bed, I want to just take it from her but I’m just not sure because that’s what helps her sleep at night. Any advice?