Messed up the conditions, so I moved the pubmsg||privmsg commands out of the if-elif and made all of those conditions return