fix to make comment true
This commit is contained in:
parent
aade7618af
commit
980c5266f2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue