Use foil or a disposable liner to line a 6-qt slow cooker. Then, use cooking spray or butter to grease the slow cooker.
Add the butter, sugar, cocoa powder, flour, eggs, vanilla, and salt into a medium bowl and combine using a whisk.