That will reset Kodi to default settings, but not OSMC. If your friend (I assume ex-friend now?) messed with any OSMC settings that will be more difficult to recover from since you probably won’t know what he did.
So try renaming .kodi and see if that gets you back to normal. If he did more than just mess with Kodi settings then the quickest fix would be to re-install OSMC.