The bankruptcy discharge is an injunction issued by the bankruptcy court that forbids creditors from taking any act to collect on the discharged debt. The injunction allows the debtor to seek damages from the bankruptcy court for any violation of its order which is what gives the bankruptcy court power.