I'd say that it most likely was a moth. According to the following site
moth or butterfly all butterflies have small rounded clubs at the end of their antenna whereas, moth's antenna have no clubs and the antenna can be feathery or thin. You might want to click on the link for that site.