fix to make comment true

This commit is contained in:
Ryan Huber 2014-11-18 11:43:57 -08:00
parent aade7618af
commit 980c5266f2

View file

@ -8,7 +8,7 @@ def process_message(data):
channel = data["channel"]
text = data["text"]
#only accept tasks on DM channels
if channel.startswith("D") or channel.startswith("C"):
if channel.startswith("D"):
if channel not in tasks.keys():
tasks[channel] = []
#do command stuff