moving chat commands out to chat.py
conflict fixed