I suggest you contact the Official Receiver who dealt with your bankruptcy & ask for confirmation that you have been discharged, & the date of this. Do not mention the inheritance. If you have been discharged and you are not now making any payments to your creditors under an Income Payments Agreement or Order then you should be able to keep your inheritance.
However, if your mother died while you were bankrupt or were making such payments, this may not be the case, as the OR would probably treat the inheritance as an after acquired asset & take the money.