Override sidebar.js for the mini cart – magento2.4

I’m trying to override the sidebar.js(minicart) file which I did with other classes in the requirejs file but the sidebar is just not overriding.
I’m actually trying to add a new event to the sidebar.js init method.
Is there any way to rewrite the sidebar class or any other approach if overriding is not possible?