Fixes part bug when bot is not on a channel

Fixes issue #12