from chatexchange.client import Client
import re
import time
import os
import sys
import datetime
from functools import partial
email = "s"
password = "s"
work = True
se_chat = Client('meta.stackexchange.com')
se_chat.login(email,password)
room = se_chat.get_room('1543')
phrases = [ r"^@?(pop|popcorn)[\W_]*say (.*)",
r"^@?(pop|popcorn)[\W_]*say (.*)",
r"^@?(pop|popcorn)[\W_]*time",
r"^@?(pop|popcorn)[\W_]*alive",
r"^@?(pop|popcorn)[\W_]*say (.*)",